aboutsummaryrefslogtreecommitdiffstats
path: root/apps/producers
diff options
context:
space:
mode:
authorMauro Sardara <msardara+fdio@cisco.com>2018-02-26 14:08:59 +0100
committerMauro Sardara <msardara+fdio@cisco.com>2018-02-26 15:29:27 +0100
commitfac06d1485609520b6eabae2a5504eba8b91e5ef (patch)
treeb6660ea2d9a6546fbb219dabcb6ac96ca0abcbce /apps/producers
parent1d4ce83ccc5143230fb1b8e8460073a51a0c9121 (diff)
Minor fix for package build, delete pending interest after timeout expiration.
Change-Id: I9649bcee4a6daa8dcf2183fcfd903d8806798f52 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'apps/producers')
-rwxr-xr-xapps/producers/CMakeLists.txt2
-rw-r--r--apps/producers/config/iping-server.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/producers/CMakeLists.txt b/apps/producers/CMakeLists.txt
index 29d71010..15a7a4f8 100755
--- a/apps/producers/CMakeLists.txt
+++ b/apps/producers/CMakeLists.txt
@@ -40,5 +40,5 @@ install(TARGETS producer-hello-world DESTINATION ${CMAKE_INSTALL_PREFIX}/bin COM
install(TARGETS iping-server DESTINATION ${CMAKE_INSTALL_PREFIX}/bin COMPONENT library)
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
- install(FILES ${PRODUCER_PING_SERVER_SERVICE_FILE} DESTINATION /lib/systemd/system)
+ install(FILES ${PRODUCER_PING_SERVER_SERVICE_FILE} DESTINATION /lib/systemd/system COMPONENT library)
endif()
diff --git a/apps/producers/config/iping-server.service b/apps/producers/config/iping-server.service
index 1c5d12f9..d8ca0a9c 100644
--- a/apps/producers/config/iping-server.service
+++ b/apps/producers/config/iping-server.service
@@ -18,7 +18,7 @@ After=metis-forwarder.service
[Service]
Environment=SIZE=64
-Environment-NAME=ccnx:/$(hostname)-pingserver
+Environment-NAME=ccnx:/$(hostname)/pingserver
# This will overrride the default environment
EnvironmentFile=-/etc/default/ccnx/iping.conf
ExecStart=/bin/bash -c "/usr/bin/iping-server -s ${SIZE} ${NAME}"