From: Thomas Deutschmann Date: Sat, 11 Apr 2020 20:45:27 +0000 (+0200) Subject: www-servers/nginx: add workaround for race-condition on systemd X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ebd358e0aaa62b455d1eb318f509bb1804fe3285;p=gentoo.git 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 --- 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