Alexander Afanasyev | 37a05f6 | 2014-05-09 18:55:21 -0700 | [diff] [blame] | 1 | # nrd.conf |
2 | # | ||||
3 | # NDN RIB Manager Daemon | ||||
4 | |||||
5 | description "NDN RIB Manager Daemon" | ||||
6 | |||||
7 | start on started nfd | ||||
8 | stop on stopping nfd | ||||
9 | |||||
10 | respawn | ||||
11 | respawn limit unlimited | ||||
12 | |||||
13 | setuid ndn | ||||
14 | setgid ndn | ||||
15 | |||||
16 | pre-start exec sleep 2 | ||||
17 | script | ||||
18 | export HOME=/usr/local/var/lib/ndn/nrd | ||||
19 | /usr/local/bin/nrd --config /usr/local/etc/ndn/nfd.conf 2>> /usr/local/var/log/ndn/nrd.log | ||||
20 | end script | ||||
21 | |||||
22 | post-stop exec sleep 2 |