blob: 69d59130b8763159b62b83b61906700f1cf8fade [file] [log] [blame]
Alexander Afanasyev469cbcd2014-05-08 01:25:11 -07001# nrd.conf
2#
3# NDN RIB Manager Daemon
4
5description "NDN RIB Manager Daemon"
6author "Tai-Lin Chu <tailinchu@gmail.com>"
7
8start on started nfd
9stop on stopping nfd
10
11respawn
12respawn limit unlimited
13
14setuid ndn
15setgid ndn
16
17pre-start exec sleep 2
18script
19 export HOME=/var/lib/ndn/nrd
20 /usr/bin/nrd --config /etc/ndn/nfd.conf 2>> /var/log/ndn/nrd.log
21end script
22
23post-stop exec sleep 2
24
25# post-start script
26# sleep 3
27# # Apply initial configuration
28# [ -r /etc/ndn/nfd.init ] && sh /etc/ndn/nfd.init
29# end script