From ebd358e0aaa62b455d1eb318f509bb1804fe3285 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Sat, 11 Apr 2020 22:45:27 +0200 Subject: [PATCH] www-servers/nginx: add workaround for race-condition on systemd Closes: https://bugs.gentoo.org/716700 Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann --- www-servers/nginx/files/nginx.service-r1 | 1 + 1 file changed, 1 insertion(+) diff --git a/www-servers/nginx/files/nginx.service-r1 b/www-servers/nginx/files/nginx.service-r1 index 797c7edffafa..e160af7625b7 100644 --- a/www-servers/nginx/files/nginx.service-r1 +++ b/www-servers/nginx/files/nginx.service-r1 @@ -7,6 +7,7 @@ Type=forking PIDFile=/run/nginx.pid ExecStartPre=/usr/sbin/nginx -t ExecStart=/usr/sbin/nginx +ExecStartPost=/bin/sleep 0.1 ExecReload=/bin/kill -HUP $MAINPID ExecStop=/bin/kill -QUIT $MAINPID -- 2.26.2