blob: 4cfb4e443990156cbb0c502865c5040ac7ffc429 [file] [log] [blame]
description "NDN TLV ping server"
author "Alexander Afanasyev <alexander.afanasyev@ucla.edu>"
start on started nrd
stop on stopping nrd
respawn
respawn limit unlimited
setuid ndn
setgid ndn
script
FLAGS=""
PREFIX="/localhost/ndnpingserver"
if [ -f /etc/default/ndn-tlv-ping ]; then
. /etc/default/ndn-tlv-ping
fi
export HOME=/var/lib/ndn/ndn-tlv-ping
exec /usr/bin/ndnpingserver "$PREFIX" $FLAGS
end script