ndn-cxx, nfd: Bumping version of 0.2.0-rc2
nlsr: Bumping to the latest release
ndn-tlv-ping, ndn-traffic-generator, ndndump, repo-ng: Bumping ppa version to
force rebuild against the latest version of the library.
diff --git a/nfd/debian/nfd.upstart b/nfd/debian/nfd.upstart
index a0ccb96..6e393e8 100644
--- a/nfd/debian/nfd.upstart
+++ b/nfd/debian/nfd.upstart
@@ -15,4 +15,15 @@
export HOME
exec /usr/bin/nfd --config /etc/ndn/nfd.conf 2>> /var/log/ndn/nfd.log
+
+post-start script
+ if [ -f /etc/ndn/nfd-init.sh ]; then
+ sleep 2 # post-start is executed just after nfd process starts, but there is no guarantee
+ # that all initialization has been finished
+ . /etc/ndn/nfd-init.sh
+ fi
+end script
+
post-stop exec sleep 2
+
+reload signal SIGHUP