mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-23 17:53:23 +02: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
|
||||
|
||||
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…
x
Reference in New Issue
Block a user