blob: 379e8ec870e51084f01f82beb906f98d77e1f022 [file] [log] [blame]
description "NFD Autoreg Server"
author "Alexander Afanasyev <alexander.afanasyev@ucla.edu>"
start on started nrd
stop on stopping nrd
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