www-servers/nginx: add workaround for race-condition on systemd
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 11 Apr 2020 20:45:27 +0000 (22:45 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 11 Apr 2020 21:10:37 +0000 (23:10 +0200)
Closes: https://bugs.gentoo.org/716700
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
www-servers/nginx/files/nginx.service-r1

index 797c7edffafa856f3314828732feec9beba331e2..e160af7625b7296b54529c5a6f02f6670dd5fd43 100644 (file)
@@ -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