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

PID File #4

Open
TheFox opened this issue Apr 29, 2016 · 0 comments
Open

PID File #4

TheFox opened this issue Apr 29, 2016 · 0 comments

Comments

@TheFox
Copy link
Owner

TheFox commented Apr 29, 2016

WARNING: Can't write in /var/run

To use PROJECT_USE_PID_FILE it's nesessary to run the process under daemon group:

~$ ls -lad /var/run
drwxrwxr-x  33 root  daemon  1122 27 Apr 19:02 /var/run

Maybe setgid() can be used to achieve this.


ps -eo pid,uid,ruid,gid,rgid,comm | grep cmus

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

No branches or pull requests

1 participant