Browse Source

NGINX zero downtime reloads

susefix
George Robinson 8 years ago
parent
commit
c6ed2e6bcb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nginx/ng/files/nginx.service

+ 1
- 1
nginx/ng/files/nginx.service View File

@@ -7,7 +7,7 @@ Type=forking
PIDFile=/run/nginx.pid
ExecStartPre=/usr/sbin/nginx -t
ExecStart=/usr/sbin/nginx
ExecReload=/bin/kill -s HUP $MAINPID
ExecReload=/usr/sbin/nginx -s reload
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=on-failure
RestartSec=10s

Loading…
Cancel
Save