Merge pull request #31 from deoren/init-script-allow-overrides

Fixed placement of inclusion of overrides file
This commit is contained in:
Daniel Gultsch 2015-08-03 10:13:03 +02:00
commit aeda6ac875

View File

@ -22,11 +22,11 @@ PIDFILE=/var/run/${NAME}.pid
USER=prosody USER=prosody
export LOGNAME=$USER export LOGNAME=$USER
test -x $DAEMON || exit 0
# Allow user to override default values listed above # Allow user to override default values listed above
[ -r /etc/default/$NAME ] && . /etc/default/$NAME [ -r /etc/default/$NAME ] && . /etc/default/$NAME
test -x $DAEMON || exit 0
set -e set -e
function _start() { function _start() {