2014-02-07 10:10:01 +00:00
|
|
|
start on (filesystem and net-device-up)
|
|
|
|
|
|
|
|
console log
|
|
|
|
|
|
|
|
script
|
2014-07-11 22:29:31 +00:00
|
|
|
mkdir -p /root/.drone
|
|
|
|
cd /root/.drone
|
|
|
|
|
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
|