mirror of
https://github.com/harness/drone.git
synced 2025-05-09 00:41:18 +08:00
load .toml file in upstart script
This commit is contained in:
parent
5f4cf05fc7
commit
c283fcae20
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
|
console log
|
||||||
|
|
||||||
script
|
script
|
||||||
set -a
|
/usr/local/bin/droned --config=/etc/drone/drone.toml
|
||||||
DRONED_OPTS="--bind=:80"
|
end script
|
||||||
if [ -f /etc/default/$UPSTART_JOB ]; then
|
|
||||||
. /etc/default/$UPSTART_JOB
|
|
||||||
fi
|
|
||||||
/usr/local/bin/droned $DRONED_OPTS
|
|
||||||
end script
|
|
||||||
|
Loading…
Reference in New Issue
Block a user