# 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 |