Alexander Afanasyev | 8019a93 | 2014-08-10 18:19:28 -0700 | [diff] [blame] | 1 | # nlsr.conf |
2 | # | ||||
3 | # NDN NLSR Routing Daemon | ||||
4 | |||||
5 | description "NDN NLSR Routing Daemon" | ||||
6 | author "John DeHart <jdd@wustl.edu>" | ||||
7 | |||||
8 | start on started nrd | ||||
9 | stop on stopping nrd | ||||
10 | |||||
11 | respawn | ||||
12 | respawn limit unlimited | ||||
13 | |||||
14 | setuid nlsr | ||||
15 | setgid nlsr | ||||
16 | |||||
17 | pre-start exec sleep 2 | ||||
18 | |||||
19 | script | ||||
20 | export HOME=/var/lib/ndn/nlsr | ||||
21 | exec /usr/bin/nlsr -f /etc/ndn/nlsr/nlsr.conf | ||||
22 | end script | ||||
23 | |||||
24 | post-stop exec sleep 2 |