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

It doesn't kill the process after I logout. #253

Open
laichiaheng opened this issue Sep 10, 2015 · 1 comment
Open

It doesn't kill the process after I logout. #253

laichiaheng opened this issue Sep 10, 2015 · 1 comment

Comments

@laichiaheng
Copy link

It doesn't kill the process after I logout, so everytime I login, it creates a new process, because I set it as autostart.

@AloisCRR
Copy link

AloisCRR commented Feb 3, 2021

I solved it by auto-starting a bash script

killall -q redshift
# Wait for process to shut down
while pgrep -u $UID -x redshift >/dev/null; do sleep 1; done
redshift &

Edit: You should disable the service on systemd, in my case was systemctl --user disable redshift.service

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