mirror of
https://github.com/moparisthebest/HttpUploadComponent
synced 2024-11-21 16:35:04 -05:00
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
|
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