load .toml file in upstart script

This commit is contained in:
Brad Rydzewski 2014-10-11 14:58:46 -07:00
parent 5f4cf05fc7
commit c283fcae20

View file

@ -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