Nginx can't reload even when config is OK
nginx-ml at acheronmedia.hr
Sat Nov 18 13:59:11 UTC 2017
On 2017-11-18 14:21, tamer1009 wrote:
> Process: 22036 ExecReload=/bin/kill -s HUP (code=exited,
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 that causes the pidfile not to be
created. May or may not be your solution, but in those cases removing
PIDfile from the service file (and allowing systemd to guess PID for
$MAINPID) was the solution.
More information about the nginx