From: Adam Dickmeiss Date: Mon, 18 Jun 2007 13:43:23 +0000 (+0000) Subject: Make init script LSB compliant. http://wiki.debian.org/LSBInitScripts . X-Git-Tag: PAZPAR2.1.0.0~24 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=bf978373de6125d501afea963c23a0a6df6de949;p=pazpar2-moved-to-github.git Make init script LSB compliant. wiki.debian.org/LSBInitScripts . --- diff --git a/debian/pazpar2.init b/debian/pazpar2.init index d663b4e..03c498b 100644 --- a/debian/pazpar2.init +++ b/debian/pazpar2.init @@ -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 . -# Modified for Debian -# by Ian Murdock . -# -# 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