blob: 97179a21d03f2601e0a773e1f1be30ed48cfb62d [file] [log] [blame]
Alexander Afanasyev37a05f62014-05-09 18:55:21 -07001# nfd.conf
2#
3# NDN Forwarding Daemon
4
5description "NDN forwarding daemon"
6
7start on (local-filesystems and net-device-up IFACE!=lo)
8stop on runlevel [!2345]
9
10respawn
11respawn limit unlimited
12
13env HOME=/usr/local/var/lib/ndn/nfd
14export HOME
15
16exec /usr/local/bin/nfd --config /usr/local/etc/ndn/nfd.conf 2>> /usr/local/var/log/ndn/nfd.log
17post-stop exec sleep 2