commit a2d9de2c224daa81ed903530c1a9b7551d6ca11a
Author: Elan Ruusamäe <g...@pld-linux.org>
Date:   Tue Aug 8 18:35:32 2017 +0300

    race condition hack for restart
    
    https://github.com/elogind/elogind/issues/25#issuecomment-320990445

 elogind.init | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/elogind.init b/elogind.init
index 1422d49..bd59ebf 100755
--- a/elogind.init
+++ b/elogind.init
@@ -63,11 +63,17 @@ condrestart() {
        fi
 
        stop
+       # some race condition
+       # https://github.com/elogind/elogind/issues/25#issuecomment-320990445
+       sleep 1
        start
 }
 
 restart() {
        stop
+       # some race condition
+       # https://github.com/elogind/elogind/issues/25#issuecomment-320990445
+       sleep 1
        start
 }
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/elogind.git/commitdiff/a2d9de2c224daa81ed903530c1a9b7551d6ca11a

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to