blob: d4ad65318a96316f6dff4d064c07ef3e76df7c4b [file] [log] [blame]
# nlsr.conf
#
# NDN NLSR Routing Daemon
description "NDN NLSR Routing Daemon"
author "John DeHart <jdd@wustl.edu>"
start on started nfd
stop on stopping nfd
respawn
respawn limit unlimited
setuid nlsr
setgid nlsr
pre-start exec sleep 2
script
export HOME=/var/lib/ndn/nlsr
exec /usr/bin/nlsr -f /etc/ndn/nlsr/nlsr.conf
end script
post-stop exec sleep 2