blob: a0ccb96ba4ba8ef2843de49673969a92a3075856 [file] [log] [blame]
Alexander Afanasyev469cbcd2014-05-08 01:25:11 -07001# nfd.conf
2#
3# NDN Forwarding Daemon
4
5description "NDN forwarding daemon"
6author "Alexander Afanasyev <alexander.afanasyev@ucla.edu>"
7
Alexander Afanasyevbcbf15e2014-05-09 10:23:37 -07008start on (local-filesystems and net-device-up IFACE!=lo)
9stop on runlevel [!2345]
Alexander Afanasyev469cbcd2014-05-08 01:25:11 -070010
11respawn
12respawn limit unlimited
13
14env HOME=/var/lib/ndn/nfd
15export HOME
16
17exec /usr/bin/nfd --config /etc/ndn/nfd.conf 2>> /var/log/ndn/nfd.log
18post-stop exec sleep 2