File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
nixos/modules/services/misc/guix Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 213213 systemd . services . guix-daemon = {
214214 environment = serviceEnv ;
215215 script = ''
216- ${ lib . getExe' package "guix-daemon" } \
216+ exec ${ lib . getExe' package "guix-daemon" } \
217217 --build-users-group=${ cfg . group } \
218218 ${ lib . escapeShellArgs cfg . extraArgs }
219219 '' ;
324324 }
325325 '' ;
326326 script = ''
327- ${ lib . getExe' package "guix" } publish \
327+ exec ${ lib . getExe' package "guix" } publish \
328328 --user=${ cfg . publish . user } --port=${ builtins . toString cfg . publish . port } \
329329 ${ lib . escapeShellArgs cfg . publish . extraArgs }
330330 '' ;
380380 description = "Guix garbage collection" ;
381381 startAt = cfg . gc . dates ;
382382 script = ''
383- ${ lib . getExe' package "guix" } gc ${ lib . escapeShellArgs cfg . gc . extraArgs }
383+ exec ${ lib . getExe' package "guix" } gc ${ lib . escapeShellArgs cfg . gc . extraArgs }
384384 '' ;
385-
386385 serviceConfig = {
387386 Type = "oneshot" ;
388-
389387 PrivateDevices = true ;
390388 PrivateNetworks = true ;
391389 ProtectControlGroups = true ;
You can’t perform that action at this time.
0 commit comments