blob: c9f077f91fb9015a108bfcacd2adf35607f9d31a [file] [log] [blame]
# nfd.conf
#
# NDN Forwarding Daemon
description "NDN forwarding daemon"
author "Alexander Afanasyev <alexander.afanasyev@ucla.edu>"
# start on filesystem or runlevel [2345]
# stop on runlevel [!2345]
start on started network-services
stop on stopping network-services
respawn
respawn limit unlimited
env HOME=/var/lib/ndn/nfd
export HOME
exec /usr/bin/nfd --config /etc/ndn/nfd.conf 2>> /var/log/ndn/nfd.log
post-stop exec sleep 2