blob: df28359bfce96e9f0052e2a0a6388fab126c0278 [file] [log] [blame]
description "NFD HTTP Status Server"
author "Alexander Afanasyev <alexander.afanasyev@ucla.edu>"
start on started nfd
stop on stopping nfd
respawn
respawn limit unlimited
script
FLAGS=""
if [ -f /etc/default/nfd-status-http-server ]; then
. /etc/default/nfd-status-http-server
fi
export HOME=/tmp/nfd-status-http-server
exec /usr/bin/nfd-status-http-server $FLAGS
end script