ndnmapDataCollector: first add of ndnmapDataCollector daemon configuration for PPA
Change-Id: I60d5d37d3fab88a8a885d13e44a50442b0e602eb
diff --git a/ndnmap-data-collector/debian/ndnmap-data-collector.upstart b/ndnmap-data-collector/debian/ndnmap-data-collector.upstart
new file mode 100644
index 0000000..070e6cd
--- /dev/null
+++ b/ndnmap-data-collector/debian/ndnmap-data-collector.upstart
@@ -0,0 +1,21 @@
+description "New NDN XML Status client"
+author "John DeHart <jdd@wustl.edu>"
+
+start on started nfd
+stop on stopping nfd
+
+respawn
+respawn limit unlimited
+
+setuid ndn
+setgid ndn
+
+script
+ FLAGS=""
+ PREFIX=""
+ if [ -f /etc/default/ndnmapDataCollectorClient ]; then
+ . /etc/default/ndnmapDataCollectorClient
+ fi
+ export HOME=/var/lib/ndn/ndnmapDataCollector
+ exec /usr/bin/ndnmapDataCollectorClient $FLAGS -p $PREFIX
+end script