Skip to content

Run as nobody on redhat-based systems #90

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

paulegan
Copy link

Provide the --user argument to daemon in the redhat init script - otherwise pystatsd runs as root.
An empty pid file is created by root first because user nobody can't write to /var/run.

Also removed the default runlevels in the init script. The Redhat/Fedora guidelines say that "only services which are really required for a vital system should define runlevels". See http://fedoraproject.org/wiki/Packaging:SysVInitScript#Chkconfig_Header.

Paul Egan added 2 commits October 21, 2014 16:58
From Redhat/Fedora guidelines:
"Only services which are really required for a vital system should define
runlevels".

http://fedoraproject.org/wiki/Packaging:SysVInitScript#Chkconfig_Header
@sivy
Copy link
Owner

sivy commented Dec 16, 2014

👍 But I defer to anyone with RedHat experience.

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

Successfully merging this pull request may close these issues.

2 participants