From 479ec879a9ee0ae2576b97032d5ed7384288f0c0 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Sat, 12 Jul 2008 09:01:20 +0000 Subject: [PATCH] * Added LSB info to Debian init scripts in order to avoid warning when init script is installed. git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1037 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- pkg/debian/sems.init | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/pkg/debian/sems.init b/pkg/debian/sems.init index 8b415c07..58dac87b 100644 --- a/pkg/debian/sems.init +++ b/pkg/debian/sems.init @@ -1,16 +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 GNU/Linux -# by Ian Murdock . -# -# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl -# -# adapted for ser by Andrei Pelinescu-Onciul -# $Id: ser.init,v 1.3 2007/11/05 15:33:12 paka Exp $ +### BEGIN INIT INFO +# Provides: sems +# 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 SEMS Application Server +### END INIT INFO + # read configuration from /etc/default/sems file if test -f /etc/default/sems ; then