From c283fcae20fee1e731ffdbf2719d79ade5d370db Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Sat, 11 Oct 2014 14:58:46 -0700 Subject: [PATCH] load .toml file in upstart script --- debian/drone/etc/init/drone.conf | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/debian/drone/etc/init/drone.conf b/debian/drone/etc/init/drone.conf index b38b0cf48..5efeb02c9 100644 --- a/debian/drone/etc/init/drone.conf +++ b/debian/drone/etc/init/drone.conf @@ -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 \ No newline at end of file + /usr/local/bin/droned --config=/etc/drone/drone.toml +end script