summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-04-11 22:45:27 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-04-11 23:10:37 +0200
commitebd358e0aaa62b455d1eb318f509bb1804fe3285 (patch)
treeebf3e7f8303df55f5b7199675084549c613c8c77 /www-servers
parentwww-client/firefox: amd64 & x86 stable (bug #716644) (diff)
downloadgentoo-ebd358e0aaa62b455d1eb318f509bb1804fe3285.tar.gz
gentoo-ebd358e0aaa62b455d1eb318f509bb1804fe3285.tar.bz2
gentoo-ebd358e0aaa62b455d1eb318f509bb1804fe3285.zip
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 <whissi@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/nginx/files/nginx.service-r11
1 files changed, 1 insertions, 0 deletions
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