summaryrefslogtreecommitdiffstats
path: root/hicn-light/config/hicn-light.service
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-10-24 20:59:30 +0200
committerMauro Sardara <msardara@cisco.com>2019-10-25 11:59:49 +0200
commitbaaeb1af53ab4c64b31786bddfd7573445f21342 (patch)
tree5934885d9732b8c890d8ee89787ba5d3f2dbd527 /hicn-light/config/hicn-light.service
parentcf3d6ef0cbda50c9917421213a77097250f3d67b (diff)
[HICN-358] Enable systemctl service after package installation.
Change-Id: I1c9a7099fbf59c09fb22475e9695373f316d0b6e Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'hicn-light/config/hicn-light.service')
-rw-r--r--hicn-light/config/hicn-light.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/hicn-light/config/hicn-light.service b/hicn-light/config/hicn-light.service
index 0f976fc6c..f269b2f26 100644
--- a/hicn-light/config/hicn-light.service
+++ b/hicn-light/config/hicn-light.service
@@ -21,8 +21,8 @@ Environment=LOG_FILE=/tmp/hicn_light.log
Environment=CS_SIZE=1000
Environment=CONFIG=/etc/hicn/hicn_light.conf
# This will overrride the default environment
-EnvironmentFile=-/etc/default/source
-ExecStart=/usr/bin/hicnLightDaemon --port ${PORT} --log-file ${LOG_FILE} --capacity ${CS_SIZE} --config ${CONFIG}
+EnvironmentFile=-/etc/default/hicn-light
+ExecStart=/usr/bin/hicn-light-daemon --port ${PORT} --log-file ${LOG_FILE} --capacity ${CS_SIZE} --config ${CONFIG}
Restart=on-failure
[Install]