Merge pull request #153 from aszlig/permissions-start-only

hydra-module: Use PermissionsStartOnly in init.
This commit is contained in:
Rob Vermaas 2014-04-15 21:50:26 +02:00
commit 5a5f1e42e6

View file

@ -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;