Improve Debian init.d script and default file

This commit is contained in:
Andrew Bettison 2013-01-24 13:24:11 +10:30
parent 48fd3d2322
commit 9327b30c41
2 changed files with 10 additions and 7 deletions

View File

@ -5,10 +5,13 @@
# means the /etc/init.d/serval-dna script will not start the daemon.
#START_DAEMON=yes
# USER
# Set this to start the daemon running as the given user.
#USER=serval
# SERVALINSTANCE_PATH
# Set and export this to make the daemon use an instance path other than the
# default.
#export SERVALINSTANCE_PATH=/var/serval-node
# Set this to make the daemon use an instance path other than the default.
#SERVALINSTANCE_PATH=/var/serval-node
# DAEMON
# Set to use an executable installed in a non-standard location, eg,

View File

@ -3,10 +3,10 @@
# Provides: serval-dna
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Should-Start:
# Should-Stop:
# X-Start-Before:
# X-Stop-After:
# Should-Start: $network
# Should-Stop: $network
# X-Start-Before: asterisk
# X-Stop-After: asterisk
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Serval DNA daemon