From 16418358cdb80147e28817d0c29fad306c5d31c8 Mon Sep 17 00:00:00 2001 From: forsthug <85173816+forsthug@users.noreply.github.com> Date: Thu, 28 Dec 2023 07:41:47 +0100 Subject: [PATCH] add sudo --- src/fiskaltrust.Launcher/ServiceInstallation/LinuxSystemD.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fiskaltrust.Launcher/ServiceInstallation/LinuxSystemD.cs b/src/fiskaltrust.Launcher/ServiceInstallation/LinuxSystemD.cs index 82fb7583..ce08b500 100644 --- a/src/fiskaltrust.Launcher/ServiceInstallation/LinuxSystemD.cs +++ b/src/fiskaltrust.Launcher/ServiceInstallation/LinuxSystemD.cs @@ -72,7 +72,7 @@ private string[] GetServiceFileContent(string serviceDescription, string command "", "[Service]", "Type=simple", - $"ExecStart={command}", + $"ExecStart=sudo {command}", "", "[Install]", "WantedBy = multi-user.target"