Re: Nginx can't reload even when config is OK

2017-11-18 Thread Vlad K.
On 2017-11-18 14:21, tamer1009 wrote: Process: 22036 ExecReload=/bin/kill -s HUP (code=exited, status=1/FAILURE) Systemd is horribly broken. I've seen this happen on when PIDFile is set in the service file and you have RestrictSystem in some capacity. There's a race condition in systemd tha

Nginx can't reload even when config is OK

2017-11-18 Thread tamer1009
Hello everybody, I have been working with Nginx for quite a long time, but I have stumbled upon a very strange error. Nginx is compiled from source on CentOS 7. All systemctl commands work, except the reload function. Job for nginx.service failed because the control process exited with error code