blob: c9f077f91fb9015a108bfcacd2adf35607f9d31a [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
8# start on filesystem or runlevel [2345]
9# stop on runlevel [!2345]
10
11start on started network-services
12stop on stopping network-services
13
14respawn
15respawn limit unlimited
16
17env HOME=/var/lib/ndn/nfd
18export HOME
19
20exec /usr/bin/nfd --config /etc/ndn/nfd.conf 2>> /var/log/ndn/nfd.log
21post-stop exec sleep 2