From 97d4511cf4b376efbf353af5c567669ccfa3c0f2 Mon Sep 17 00:00:00 2001 From: slerena Date: Wed, 12 Aug 2009 15:01:55 +0000 Subject: [PATCH] 2009-08-12 sancho Lerena * tentacle_serverd, pandora_server: Added LSB tags to startup daemon for SUSE git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 4 ++++ pandora_server/pandora_server | 11 ++++++++--- pandora_server/util/tentacle_serverd | 13 +++++++++---- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 2dcc61f5a6..bb8b063ecb 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,7 @@ +2009-08-12 sancho Lerena + + * pandora_server: Added LSB tags to startup daemon for SUSE + 2009-08-11 Sancho Lerena * pandora_server: Using new method to get PID of process, compatible with diff --git a/pandora_server/pandora_server b/pandora_server/pandora_server index 87c6b826bf..d50540cae7 100755 --- a/pandora_server/pandora_server +++ b/pandora_server/pandora_server @@ -6,10 +6,15 @@ # other Linux distros could not work properly without modifications # v3.0 Build 090810 # http://www.pandorafms.com -# chkconfig: 23 99 99 -# description: Manages starting/stopping of server -# Configurable path and filenames +### BEGIN INIT INTO +# Provides: pandora_server +# Default-Start: 2 3 5 +# Default-Stop: 0 1 2 3 5 +# Required-Start: $network +# Required-Stop: $network +# Description: Pandora FMS Server startup script +### END INIT INFO PANDORA_HOME="/etc/pandora/pandora_server.conf" PANDORA_PID_PATH="/var/run" diff --git a/pandora_server/util/tentacle_serverd b/pandora_server/util/tentacle_serverd index 567592811c..81024e78af 100755 --- a/pandora_server/util/tentacle_serverd +++ b/pandora_server/util/tentacle_serverd @@ -1,13 +1,18 @@ #!/bin/bash -# Tentacle server simple startup script (no pid file is written). +# Tentacle server simple startup script # Copyright (c) 2007 Artica Soluciones Tecnologicas S.L. # Linux Version (generic) # v0.1 Build 210508 -# chkconfig: 2345 55 25 -# description: Tentacle server -# processname: tentacle_server +### BEGIN INIT INTO +# Provides: tentacle_server +# Default-Start: 2 3 5 +# Default-Stop: 0 1 2 3 5 +# Required-Start: $network +# Required-Stop: $network +# Description: Tentacle Server startup script +### END INIT INFO # Pandora server settings PANDORA_SERVER_PATH="/var/spool/pandora/data_in"