jamielinux pushed to nginx (master). "Add TimeoutStopSec=5 and KillMode=mixed"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sun May 10 08:29:06 UTC 2015
From ba7509ae8c269787f2ee9d5e0917b0f5049aee15 Mon Sep 17 00:00:00 2001
From: Jamie Nguyen <j at jamielinux.com>
Date: Sun, 10 May 2015 09:06:20 +0100
Subject: Add TimeoutStopSec=5 and KillMode=mixed
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]
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/nginx.git/commit/?h=master&id=ba7509ae8c269787f2ee9d5e0917b0f5049aee15
More information about the scm-commits
mailing list