ndnmap-data-collector: Fix upstart config
Change-Id: Ib4453a3e783a77868c7ee3586b0c357ccf7f0afe
diff --git a/ndnmap-data-collector/Makefile b/ndnmap-data-collector/Makefile
index b55b59f..bd4a41a 100644
--- a/ndnmap-data-collector/Makefile
+++ b/ndnmap-data-collector/Makefile
@@ -11,6 +11,6 @@
VERSION=0.1.0-1
# PPA version
-PPA_VERSION=3
+PPA_VERSION=4
include ../packaging.mk
diff --git a/ndnmap-data-collector/debian/changelog b/ndnmap-data-collector/debian/changelog
index 469b6dd..a4698e6 100644
--- a/ndnmap-data-collector/debian/changelog
+++ b/ndnmap-data-collector/debian/changelog
@@ -1,3 +1,10 @@
+ndnmap-data-collector (0.1.0-1-ppa4~DISTRO) DISTRO; urgency=low
+
+ * New version based on 3785a75abf04176e9e5a7f2642a1e11f31c87bdd
+ (https://github.com/WU-ARL/ndnmapDataCollector)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu> Wed, 20 Jul 2016 08:56:26 +0000
+
ndnmap-data-collector (0.1.0-1-ppa3~DISTRO) DISTRO; urgency=low
* New version based on 3785a75abf04176e9e5a7f2642a1e11f31c87bdd
diff --git a/ndnmap-data-collector/debian/ndnmap-data-collector.service b/ndnmap-data-collector/debian/ndnmap-data-collector.service
index 2ffc978..000770e 100644
--- a/ndnmap-data-collector/debian/ndnmap-data-collector.service
+++ b/ndnmap-data-collector/debian/ndnmap-data-collector.service
@@ -9,7 +9,7 @@
[Service]
Environment=HOME=/var/lib/ndn/ndnmapDataCollector
-EnvironmentFile=-/etc/default/ndnmapDataCollectorClient
+EnvironmentFile=-/etc/default/ndnmap-data-collector
User=ndn
Group=ndn
ExecStart=/usr/bin/ndnmapDataCollectorClient $FLAGS -p "$PREFIX"
diff --git a/ndnmap-data-collector/debian/ndnmap-data-collector.upstart b/ndnmap-data-collector/debian/ndnmap-data-collector.upstart
index 070e6cd..2cf0cb9 100644
--- a/ndnmap-data-collector/debian/ndnmap-data-collector.upstart
+++ b/ndnmap-data-collector/debian/ndnmap-data-collector.upstart
@@ -13,8 +13,8 @@
script
FLAGS=""
PREFIX=""
- if [ -f /etc/default/ndnmapDataCollectorClient ]; then
- . /etc/default/ndnmapDataCollectorClient
+ if [ -f /etc/default/ndnmap-data-collector ]; then
+ . /etc/default/ndnmap-data-collector
fi
export HOME=/var/lib/ndn/ndnmapDataCollector
exec /usr/bin/ndnmapDataCollectorClient $FLAGS -p $PREFIX