From 4da6c784211fde6af6d40b9d666f4f6980e15580 Mon Sep 17 00:00:00 2001 From: Ankur Kothiwal Date: Tue, 16 Aug 2022 14:37:59 +0530 Subject: [PATCH] package discovery-engine as a systemd service Signed-off-by: Ankur Kothiwal --- src/packaging/knoxAutoPolicy.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packaging/knoxAutoPolicy.service b/src/packaging/knoxAutoPolicy.service index 182b58d6..94f92c80 100644 --- a/src/packaging/knoxAutoPolicy.service +++ b/src/packaging/knoxAutoPolicy.service @@ -3,8 +3,8 @@ Description=knoxAutoPolicy [Service] KillMode=process -EnvironmentFile=/opt/knoxAutoPolicy/local-file.yaml WorkingDirectory=/opt/knoxAutoPolicy/ +Environment=CONF_FILE_NAME=local-file ExecStart=/opt/knoxAutoPolicy/src/knoxAutoPolicy [Install]