blob: 21740ead555b66ebe0f8ddbeeb84fda667f56d1b [file] [log] [blame]
Alexander Afanasyev4c568f22014-05-23 17:18:06 -07001description "NDN HTTP Status Server"
2author "Alexander Afanasyev <alexander.afanasyev@ucla.edu>"
3
4start on started nfd
5stop on stopping nfd
6
7respawn
8respawn limit unlimited
9
10script
11 FLAGS=""
12 if [ -f /etc/default/nfd-status-http-server ]; then
13 . /etc/default/nfd-status-http-server
14 fi
15 export HOME=/tmp/nfd-status-http-server
16 exec /usr/bin/nfd-status-http-server $FLAGS
17end script