load .toml file in upstart script
This commit is contained in:
parent
5f4cf05fc7
commit
c283fcae20
1 changed files with 2 additions and 7 deletions
9
debian/drone/etc/init/drone.conf
vendored
9
debian/drone/etc/init/drone.conf
vendored
|
@ -4,10 +4,5 @@ chdir /var/lib/drone
|
|||
console log
|
||||
|
||||
script
|
||||
set -a
|
||||
DRONED_OPTS="--bind=:80"
|
||||
if [ -f /etc/default/$UPSTART_JOB ]; then
|
||||
. /etc/default/$UPSTART_JOB
|
||||
fi
|
||||
/usr/local/bin/droned $DRONED_OPTS
|
||||
end script
|
||||
/usr/local/bin/droned --config=/etc/drone/drone.toml
|
||||
end script
|
||||
|
|
Loading…
Reference in a new issue