blob: a0ccb96ba4ba8ef2843de49673969a92a3075856 [file] [log] [blame]
# nfd.conf
#
# NDN Forwarding Daemon
description "NDN forwarding daemon"
author "Alexander Afanasyev <alexander.afanasyev@ucla.edu>"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
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