pystatsd icon indicating copy to clipboard operation
pystatsd copied to clipboard

Run as nobody on redhat-based systems

Open paulegan opened this issue 11 years ago • 1 comments

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.

paulegan avatar Oct 21 '14 16:10 paulegan

:+1: But I defer to anyone with RedHat experience.

sivy avatar Dec 16 '14 23:12 sivy