harness-drone/debian/drone/etc/init/drone.conf
2014-07-11 15:29:31 -07:00

14 lines
No EOL
254 B
Text

start on (filesystem and net-device-up)
console log
script
mkdir -p /root/.drone
cd /root/.drone
DRONED_OPTS="--port=:80"
if [ -f /etc/default/$UPSTART_JOB ]; then
. /etc/default/$UPSTART_JOB
fi
droned $DRONED_OPTS
end script