blob: 75d9cc43674fbe1c0d899bdeb2df90317dc404cd [file] [log] [blame]
Alexander Afanasyev94c793a2015-07-23 04:11:36 +00001description "NDN TLV ping server"
2author "Alexander Afanasyev <alexander.afanasyev@ucla.edu>"
3
4start on started nfd
5stop on stopping nfd
6
7respawn
8respawn limit unlimited
9
10setuid ndn
11setgid ndn
12
13script
14 FLAGS=""
15 PREFIX="/localhost/ndnpingserver"
16 if [ -f /etc/default/ndnping ]; then
17 . /etc/default/ndnping
18 fi
19 export HOME=/var/lib/ndn/ndnping
20 exec /usr/bin/ndnpingserver "$PREFIX" $FLAGS
21end script