blob: df28359bfce96e9f0052e2a0a6388fab126c0278 [file] [log] [blame]
Eric Newberry9ab4a662015-05-28 11:36:41 -07001description "NFD HTTP Status Server"
Alexander Afanasyev4c568f22014-05-23 17:18:06 -07002author "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