QueueMetrics > Improving QueueMetrics
qloaderd init script for SUSE systems
(1/1)
emilec:
I'd like to suggest an additional qloaderd init script to be stored in WEB-INF/mysql-utils/qloader/Other-initscripts called qloaderd.suse (or whatever convention you like) for SUSE systems.
In order to link an init script to the correct startup sequence position SUSE requires some additional information in the headers of the init script. Something like this:
--- Code: ---#
# QLoader startup script for SUSE systems
#
# Please edit the following options in order to use the correct paths.
# $Id: qloaderd,v 1.1 2006/11/22 10:50:16 lenz Exp $
#
### BEGIN INIT INFO
# Provides: qloaderd
# Required-Start: $network $remote_fs
# Required-Stop:
# Default-Start: 2 3 5
# Default-Stop:
# Description: Start the Qloader daemon
### END INIT INFO
qloader=/usr/local/qloader/qloader.pl
partition=P001
queuelog=/var/log/asterisk/queue_log
logfile=/var/log/asterisk/qloader.log
[SNIP]
--- End code ---
Navigation
[0] Message Index
Go to full version