mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
kerberos-server: switch to ExecStart
script causes problems for forking services like MIT Kerberos.
This commit is contained in:
parent
4f9af77287
commit
fe8f2b8813
@ -27,7 +27,7 @@ in
|
|||||||
environment.systemPackages = [ pkgs.heimdalFull ];
|
environment.systemPackages = [ pkgs.heimdalFull ];
|
||||||
systemd.services.kadmind = {
|
systemd.services.kadmind = {
|
||||||
description = "Kerberos Administration Daemon";
|
description = "Kerberos Administration Daemon";
|
||||||
script = "${pkgs.heimdalFull}/libexec/heimdal/kadmind";
|
serviceConfig.ExecStart = "${pkgs.heimdalFull}/libexec/heimdal/kadmind";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.kdc = {
|
systemd.services.kdc = {
|
||||||
@ -36,13 +36,13 @@ in
|
|||||||
preStart = ''
|
preStart = ''
|
||||||
mkdir -m 0755 -p ${stateDir}
|
mkdir -m 0755 -p ${stateDir}
|
||||||
'';
|
'';
|
||||||
script = "${pkgs.heimdalFull}/libexec/heimdal/kdc";
|
serviceConfig.ExecStart = "${pkgs.heimdalFull}/libexec/heimdal/kdc";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.kpasswdd = {
|
systemd.services.kpasswdd = {
|
||||||
description = "Kerberos Password Changing daemon";
|
description = "Kerberos Password Changing daemon";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
script = "${pkgs.heimdalFull}/libexec/heimdal/kpasswdd";
|
serviceConfig.ExecStart = "${pkgs.heimdalFull}/libexec/heimdal/kpasswdd";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user