nixos/boinc: use exec to start the payload binary
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user