[icinga-checkins] icinga.org: icinga-core/mfriedrich/ido: adapt lsb headers for icinga and ido2db #2637

git at icinga.org git at icinga.org
Tue Jun 12 17:32:50 CEST 2012


Module: icinga-core
Branch: mfriedrich/ido
Commit: d7aad8964f8eba47d931f810fbd8d6652270d3ce
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=d7aad8964f8eba47d931f810fbd8d6652270d3ce

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue May 22 23:07:20 2012 +0200

adapt lsb headers for icinga and ido2db #2637

refs #2637

---

 daemon-init.in |   14 ++++++++------
 rc.ido2db.in   |    8 ++++++--
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/daemon-init.in b/daemon-init.in
index 2044d8f..e15f7a1 100644
--- a/daemon-init.in
+++ b/daemon-init.in
@@ -3,13 +3,15 @@
 # chkconfig: 345 99 01
 # description: Icinga network monitor
 ### BEGIN INIT INFO
-# Provides: icinga
-# Required-Start: $local_fs $network
-# Required-Stop: $local_fs $network
-# Default-Start:  3 4 5
-# Default-Stop: 0 1 6
+# Provides:          icinga
+# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
+# Required-Stop:     $local_fs $remote_fs $syslog $named $network
+# Should-Start:
+# Should-Stop:
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: start and stop Icinga monitoring daemon
-# Description: Icinga is a service monitoring system
+# Description:       Icinga is a service monitoring system
 ### END INIT INFO
 
 ## definitions ##
diff --git a/rc.ido2db.in b/rc.ido2db.in
index 0db58e1..ee737b2 100644
--- a/rc.ido2db.in
+++ b/rc.ido2db.in
@@ -2,8 +2,12 @@
 #
 ### BEGIN INIT INFO
 # Provides:          ido2db
-# Required-Start:
-# Required-Stop:
+# Required-Start:    $remote_fs $syslog $named $network $time
+# Required-Stop:     $remote_fs $syslog $named $network
+# X-Start-Before:    icinga
+# X-Stop-After:      icinga
+# Should-Start:      $mysql $postgresql
+# Should-Stop:       $mysql $postgresql
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Icinga IDO2DB Initscript





More information about the icinga-checkins mailing list