From 07d4d2823f21ff89f25206d4429742aba9ab8cd5 Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Thu, 30 Nov 2023 18:49:42 +0200 Subject: [PATCH] [#67] Add env needed for notation init to the service file Signed-off-by: Dimitar Dimitrov --- containerm/resources/container-management.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/containerm/resources/container-management.service b/containerm/resources/container-management.service index 7b3c140..51a5f87 100644 --- a/containerm/resources/container-management.service +++ b/containerm/resources/container-management.service @@ -7,6 +7,8 @@ Requires=containerd.service [Service] Type=simple +Environment=HOME=%h +Environment=XDG_CONFIG_HOME=%E ExecStart=/usr/bin/container-management --cfg-file /etc/container-management/config.json Restart=always TimeoutSec=300