blob: d4ad65318a96316f6dff4d064c07ef3e76df7c4b [file] [log] [blame]
Alexander Afanasyev8019a932014-08-10 18:19:28 -07001# nlsr.conf
2#
3# NDN NLSR Routing Daemon
4
5description "NDN NLSR Routing Daemon"
6author "John DeHart <jdd@wustl.edu>"
7
Alexander Afanasyev2ed95862015-07-23 11:11:53 +08008start on started nfd
9stop on stopping nfd
Alexander Afanasyev8019a932014-08-10 18:19:28 -070010
11respawn
12respawn limit unlimited
13
14setuid nlsr
15setgid nlsr
16
17pre-start exec sleep 2
18
19script
20 export HOME=/var/lib/ndn/nlsr
21 exec /usr/bin/nlsr -f /etc/ndn/nlsr/nlsr.conf
22end script
23
24post-stop exec sleep 2