blob: f7c1436f443a2093b5b35e760bc3f1f93bd21be0 [file] [log] [blame]
description "NFD Autoreg Server"
author "Alexander Afanasyev <alexander.afanasyev@ucla.edu>"
start on started nfd
stop on stopping nfd
respawn
respawn limit unlimited
setuid ndn
setgid ndn
script
BLACKLIST=""
WHITELIST=""
ALL_FACES_PREFIXES=""
ON_DEMAND_FACES_PREFIXES=""
FLAGS=""
if [ -f /etc/default/nfd-autoreg ]; then
. /etc/default/nfd-autoreg
fi
export HOME=/var/lib/ndn/nfd-autoreg
exec /usr/bin/nfd-autoreg $BLACKLIST $WHITELIST $ON_DEMAND_FACES_PREFIXES $ALL_FACES_PREFIXES $FLAGS
end script