Add TimeoutStopSec=5 and KillMode=mixed

This commit is contained in:
Jamie Nguyen 2015-05-10 09:06:20 +01:00
parent d6fe0bb232
commit ba7509ae8c

View File

@ -9,6 +9,8 @@ ExecStartPre=/usr/sbin/nginx -t
ExecStart=/usr/sbin/nginx
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
TimeoutStopSec=5
KillMode=mixed
PrivateTmp=true
[Install]