Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you stop a process? #44

Closed
superjose opened this issue Nov 6, 2018 · 3 comments
Closed

How do you stop a process? #44

superjose opened this issue Nov 6, 2018 · 3 comments

Comments

@superjose
Copy link

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.

Immortalctl command line

https://askubuntu.com/a/1088357/806019

The question is... how do I stop a service?

@nbari
Copy link
Member

nbari commented Nov 6, 2018

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

@superjose
Copy link
Author

Hahahah, yeah :D Awesome!! I'll let you know!!

@nbari
Copy link
Member

nbari commented Nov 6, 2018

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants