blob: 21740ead555b66ebe0f8ddbeeb84fda667f56d1b [file] [log] [blame]
description "NDN 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