nixos/boinc: use exec to start the payload binary

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew
2024-07-05 14:32:19 -03:00
parent c6caed479a
commit 410ae87bf5

View File

@@ -98,7 +98,7 @@ in
after = ["network.target"];
wantedBy = ["multi-user.target"];
script = ''
${fhsEnvExecutable} --dir ${cfg.dataDir} ${allowRemoteGuiRpcFlag}
exec ${fhsEnvExecutable} --dir ${cfg.dataDir} ${allowRemoteGuiRpcFlag}
'';
serviceConfig = {
User = "boinc";