diff --git a/Debian/etc/default/serval-dna b/Debian/etc/default/serval-dna index c3a7d37a..d1a1b633 100644 --- a/Debian/etc/default/serval-dna +++ b/Debian/etc/default/serval-dna @@ -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, diff --git a/Debian/etc/init.d/serval-dna b/Debian/etc/init.d/serval-dna index 1ca21743..bd01e0da 100755 --- a/Debian/etc/init.d/serval-dna +++ b/Debian/etc/init.d/serval-dna @@ -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