[packages/elogind/initscript: 2/3] elogind doesn't daemonize, hack in

glen glen at pld-linux.org
Tue Aug 8 17:35:57 CEST 2017


commit 558690d8e11e262d5438713a3750a973e81a1af7
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Aug 8 18:35:18 2017 +0300

    elogind doesn't daemonize, hack in

 elogind.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/elogind.init b/elogind.init
index 25ccbfb..1422d49 100755
--- a/elogind.init
+++ b/elogind.init
@@ -37,7 +37,7 @@ start() {
 	fi
 
 	msg_starting "elogind"
-	daemon /usr/lib64/elogind/elogind
+	daemon --fork --pidfile $pidfile --makepid /usr/lib64/elogind/elogind
 	RETVAL=$?
 	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/elogind
 }
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list