I have some questions that seems conffusing in the output of
Code: Select all
systemctl status myApp
Code: Select all
systemctl status tor
Code: Select all
$ systemctl status tor
● tor.service - Anonymizing overlay network for TCP (multi-instance-master)
Loaded: loaded (/lib/systemd/system/tor.service; enabled; vendor preset: enabled)
Active: active (exited) since Sat 2021-03-20 21:25:00 WET; 7min ago
Process: 3645 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 3645 (code=exited, status=0/SUCCESS)
So, if it is not running, why systemctl status says " Active: active (exited)...." ?? And also, if it is not running why it shows a PID? This makes no sense to me!
Then it also says "code=exited, status=0/SUCCESS)". So, if for some reason tor failed to start, why it says SUCCESS???