You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ""
@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
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?
The text was updated successfully, but these errors were encountered: