From 70b12ed7beaba3a03bbeeab996267c1b50db2f7c Mon Sep 17 00:00:00 2001 From: Mahesha Date: Sat, 25 Jan 2025 00:20:26 +0530 Subject: [PATCH] ExecStart command bin and config file relative path is updated with build variables (#114) Signed-off-by: Mahesha Mutharayappa (SDS/EPE2) --- recipes-containers/container-management/files/service.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-containers/container-management/files/service.template b/recipes-containers/container-management/files/service.template index cb432a7..8555b8a 100644 --- a/recipes-containers/container-management/files/service.template +++ b/recipes-containers/container-management/files/service.template @@ -9,7 +9,7 @@ Requires=containerd.service Type=simple Environment=HOME=%h Environment=XDG_CONFIG_HOME=%E -ExecStart=/usr/bin/container-management --cfg-file /etc/container-management/config.json +ExecStart=@CM_BIN_DD@/container-management --cfg-file @CM_CFG_DD@/container-management/config.json Restart=always TimeoutSec=300