forked from lix-project/hydra
Merge pull request #153 from aszlig/permissions-start-only
hydra-module: Use PermissionsStartOnly in init.
This commit is contained in:
commit
5a5f1e42e6
|
@ -197,6 +197,7 @@ in
|
||||||
''}
|
''}
|
||||||
'';
|
'';
|
||||||
serviceConfig.ExecStart = "${cfg.package}/bin/hydra-init";
|
serviceConfig.ExecStart = "${cfg.package}/bin/hydra-init";
|
||||||
|
serviceConfig.PermissionsStartOnly = true;
|
||||||
serviceConfig.User = "hydra";
|
serviceConfig.User = "hydra";
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
serviceConfig.RemainAfterExit = true;
|
serviceConfig.RemainAfterExit = true;
|
||||||
|
|
Loading…
Reference in a new issue