From bf978373de6125d501afea963c23a0a6df6de949 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 18 Jun 2007 13:43:23 +0000 Subject: [PATCH] Make init script LSB compliant. http://wiki.debian.org/LSBInitScripts . --- debian/pazpar2.init | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) 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 -- 1.7.10.4