Merge pull request #31 from deoren/init-script-allow-overrides
Fixed placement of inclusion of overrides file
This commit is contained in:
commit
aeda6ac875
|
@ -22,11 +22,11 @@ PIDFILE=/var/run/${NAME}.pid
|
|||
USER=prosody
|
||||
export LOGNAME=$USER
|
||||
|
||||
test -x $DAEMON || exit 0
|
||||
|
||||
# Allow user to override default values listed above
|
||||
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
|
||||
|
||||
test -x $DAEMON || exit 0
|
||||
|
||||
set -e
|
||||
|
||||
function _start() {
|
||||
|
|
Loading…
Reference in New Issue