blob: 97179a21d03f2601e0a773e1f1be30ed48cfb62d [file] [log] [blame]
# nfd.conf
#
# NDN Forwarding Daemon
description "NDN forwarding daemon"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
respawn
respawn limit unlimited
env HOME=/usr/local/var/lib/ndn/nfd
export HOME
exec /usr/local/bin/nfd --config /usr/local/etc/ndn/nfd.conf 2>> /usr/local/var/log/ndn/nfd.log
post-stop exec sleep 2