Skip to content

Commit

Permalink
add sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
forsthug committed Dec 28, 2023
1 parent 33c07c5 commit 1641835
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private string[] GetServiceFileContent(string serviceDescription, string command
"",
"[Service]",
"Type=simple",
$"ExecStart={command}",
$"ExecStart=sudo {command}",
"",
"[Install]",
"WantedBy = multi-user.target"
Expand Down

0 comments on commit 1641835

Please sign in to comment.