How do you stop a process?
superjose opened this issue · 3 comments
Hi :). Sorry for opening up a GitHub issue. I just can't predictably stop an immortal service with immortalctl
.
The service doesn't appear without sudo.
So I always try the following
immortalctl stop
immortalctl stop
sudo immortalctl stop
sudo immortalctl stop
sudo immortalctl -k
sudo immortalctl -k
immortalctl -k
immortalctl -k
set IMMORTAL_EXIT=exit sudo immortalctl exit run
sudo IMMORTAL_EXIT=exit immortalctl exit run (Where run is the process name - see pictures).
sudo immortalctl halt "" And it comes back to life in about 5 seconds.
sdo immortalctl exit
sudo IMMORTAL_EXIT=exit immortalctl exit ""
And nada.
https://askubuntu.com/a/1088357/806019
The question is... how do I stop a service?
Hi @superjose nice thing is that your process seems to be well immortalized and not dying easy :-)
I answerd here https://askubuntu.com/a/1090481/710912
Give a try, if need extra help or find an issue please don't heasitate on creating another issue
Hahahah, yeah :D Awesome!! I'll let you know!!
@superjose Also keep in mind that the output of immortalctl
depends on the user running the command if you started a process within your user (not root) you will see only lor "local" processes $HOME/.immortal
not the ones started from the $ROOT
on /var/run/immortal