2014-02-07 10:10:01 +00:00
|
|
|
start on (filesystem and net-device-up)
|
|
|
|
|
2014-06-12 00:42:49 +00:00
|
|
|
chdir /root/.drone
|
2014-02-07 10:10:01 +00:00
|
|
|
console log
|
|
|
|
|
|
|
|
script
|
2014-02-08 23:32:24 +00:00
|
|
|
DRONED_OPTS="--port=:80"
|
|
|
|
if [ -f /etc/default/$UPSTART_JOB ]; then
|
|
|
|
. /etc/default/$UPSTART_JOB
|
|
|
|
fi
|
|
|
|
droned $DRONED_OPTS
|
2014-06-04 21:25:38 +00:00
|
|
|
end script
|