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