Add TimeoutStopSec=5 and KillMode=mixed
This commit is contained in:
parent
d6fe0bb232
commit
ba7509ae8c
@ -9,6 +9,8 @@ ExecStartPre=/usr/sbin/nginx -t
|
|||||||
ExecStart=/usr/sbin/nginx
|
ExecStart=/usr/sbin/nginx
|
||||||
ExecReload=/bin/kill -s HUP $MAINPID
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
ExecStop=/bin/kill -s QUIT $MAINPID
|
ExecStop=/bin/kill -s QUIT $MAINPID
|
||||||
|
TimeoutStopSec=5
|
||||||
|
KillMode=mixed
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user