[PATCH 5/6] Add LSB header to /etc/init.d/perlbal

Nick Andrew nick at nick-andrew.net
Mon Jun 23 07:58:27 UTC 2008


Add LSB header to /etc/init.d/perlbal

Add an "LSB style header" to /etc/init.d/perlbal

This is a new requirement for init scripts; it will eventually allow
debian to run boot scripts in parallel. For more information, see
http://wiki.debian.org/LSBInitScripts/

Signed-off-by: Nick Andrew <nick at nick-andrew.net>
---

 debian/perlbal.init |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)


diff --git a/debian/perlbal.init b/debian/perlbal.init
index 6eaaa1f..3b3640f 100755
--- a/debian/perlbal.init
+++ b/debian/perlbal.init
@@ -1,14 +1,16 @@
 #! /bin/sh
 #
-# skeleton	example file to build /etc/init.d/ scripts.
-#		This file should be used to construct scripts for /etc/init.d.
-#
-#		Written by Miquel van Smoorenburg <miquels at cistron.nl>.
-#		Modified for Debian 
-#		by Ian Murdock <imurdock at gnu.ai.mit.edu>.
-#
-# Version:	@(#)skeleton  1.9  26-Feb-2001  miquels at cistron.nl
+# perlbal       Start and Stop the perlbal daemon
 #
+### BEGIN INIT INFO
+# Provides:          perlbal
+# Required-Start:    $local_fs $remote_fs $network $syslog
+# Required-Stop:     $local_fs $remote_fs $network $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Start/Stop the perlbal daemon
+# Description:       Start/Stop the perlbal daemon.
+### END INIT INFO
 
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/perlbal



More information about the perlbal mailing list