2014-02-07 10:10:01 +00:00
|
|
|
start on (filesystem and net-device-up)
|
|
|
|
|
2014-07-13 23:04:10 +00:00
|
|
|
chdir /var/lib/drone
|
2014-02-07 10:10:01 +00:00
|
|
|
console log
|
|
|
|
|
|
|
|
script
|
2014-08-03 21:45:50 +00:00
|
|
|
set -a
|
|
|
|
DRONED_OPTS="--port=:80"
|
|
|
|
if [ -f /etc/default/$UPSTART_JOB ]; then
|
|
|
|
. /etc/default/$UPSTART_JOB
|
|
|
|
fi
|
|
|
|
/usr/local/bin/droned $DRONED_OPTS
|
2014-06-04 21:25:38 +00:00
|
|
|
end script
|