SVN: rc-scripts/trunk/TODO
glen
glen at pld-linux.org
Mon Oct 10 09:49:45 CEST 2011
Author: glen
Date: Mon Oct 10 09:49:45 2011
New Revision: 12370
Modified:
rc-scripts/trunk/TODO
Log:
upstart compatible is service up todo
Modified: rc-scripts/trunk/TODO
==============================================================================
--- rc-scripts/trunk/TODO (original)
+++ rc-scripts/trunk/TODO Mon Oct 10 09:49:45 2011
@@ -21,3 +21,17 @@
- maybe merge ATM rc scripts
We are waiting for suggestions.
+
+upstart:
++upstart_controlled --except reload
++
++# return true if service is considered "up"
++# with upstart, upstart is consulted
++# otherwise lockfile in subsys must exist
++is_service_up() {
++ use_upstart && is_upstart_running "$1" || [ -f /var/lock/subsys/"$1" ]
++}
++
+
+from nscd.init
+
More information about the pld-cvs-commit
mailing list