mirror of
https://github.com/moparisthebest/HttpUploadComponent
synced 2024-12-21 23:18:55 -05:00
Merge pull request #40 from deoren/init-script-include-file-order
Reference include file before exporting $USER
This commit is contained in:
commit
f6b3a94652
@ -20,11 +20,12 @@ CONFIG=/etc/prosody/HttpUploadComponent.yml
|
||||
LOGFILE=/var/log/prosody/httpuploadcomponent.log
|
||||
PIDFILE=/var/run/${NAME}.pid
|
||||
USER=prosody
|
||||
export LOGNAME=$USER
|
||||
|
||||
# Allow user to override default values listed above
|
||||
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
|
||||
|
||||
export LOGNAME=$USER
|
||||
|
||||
test -x $DAEMON || exit 0
|
||||
|
||||
set -e
|
||||
|
Loading…
Reference in New Issue
Block a user