diff --git a/nginx.service b/nginx.service index 0a2aac2..ccaeb12 100644 --- a/nginx.service +++ b/nginx.service @@ -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]