nix/pkgs/rundeck-bin: fix

This commit is contained in:
Luke Granger-Brown 2021-04-10 22:25:28 +00:00
parent e0241545d2
commit e088dac620

View file

@ -29,10 +29,10 @@ in {
systemd.services.rundeckd = { systemd.services.rundeckd = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ]; after = [ "network.target" ];
path = cfg.pathPackages;
serviceConfig = { serviceConfig = {
User = cfg.user; User = cfg.user;
DynamicUser = cfg.user != cfg.user; DynamicUser = cfg.user != cfg.user;
Path = lib.makeBinPath cfg.pathPackages;
ExecStart = "${cfg.package}/bin/rundeckd -b /var/lib/rundeck"; ExecStart = "${cfg.package}/bin/rundeckd -b /var/lib/rundeck";
StateDirectory = "rundeck"; StateDirectory = "rundeck";
}; };