Make init script LSB compliant. http://wiki.debian.org/LSBInitScripts .
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 18 Jun 2007 13:43:23 +0000 (13:43 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 18 Jun 2007 13:43:23 +0000 (13:43 +0000)
debian/pazpar2.init

index d663b4e..03c498b 100644 (file)
@@ -1,14 +1,13 @@
 #! /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@cistron.nl>.
-#              Modified for Debian 
-#              by Ian Murdock <imurdock@gnu.ai.mit.edu>.
-#
-# Version:     @(#)skeleton  1.9  26-Feb-2001  miquels@cistron.nl
-#
+### BEGIN INIT INFO
+# Provides:          pazpar2
+# Required-Start:    $local_fs $remote_fs $network $named $time
+# Required-Stop:     $local_fs $remote_fs
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Pazpar2 server
+# Description:       Debian init script for the Pazpar2 server
+### END INIT INFO
 
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/pazpar2