mirror of
https://github.com/moparisthebest/HttpUploadComponent
synced 2024-11-24 01:42:22 -05:00
Fixed placement of inclusion of overrides file
In the last commit I mistakenly placed the inclusion of the "overrides" file _after_ the $DAEMON variable test instead of before it as I meant to do.
This commit is contained in:
parent
6f2a9f4a02
commit
194fbe3776
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user