mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-04-26 13:34:45 +00:00
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
|
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 a new issue