Re: log files as non root user

2015-07-29 Thread Jugurtha
Hello, If you start your nginx process with root (login), your master process will start with root but the "worker process" and "cache manager" with usradmin:mwgroup (you can test with this command "ps aux | grep nginx") you can try to start nginx with usradmin account : "su - usradmin ; /etc/in

log files as non root user

2015-07-28 Thread cskalyan
Hello Everyone, I am trying to configure ngnix where logs and pid file are written to a custom path and owned as non root. When even I start ngnix these files are created and owned as root. In ngnix.conf I defined as below. Please advise. user usradmin mwgroup; worker_processes 1; error_log /exp