Send USR1 to nginx as non root user
lists at ruby-forum.com
Sat Oct 9 16:57:42 MSD 2010
on my setup i have a root user and a deployer user. The nginx master
process runs as root since i need to listen on port 80. The 2 worker
processes run as deployer.
So now i setup logrotate and would like to do a kill -USR1 `cat
/opt/nginx/logs/nginx.pid` but unfortunately i get a "Operation not
permitted" error, probably because nginx is running as root.
Has anybody here a similar scenario? Any tips or suggestions?
Thanks a lot,
Posted via http://www.ruby-forum.com/.
More information about the nginx