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 ];
|
||||
systemd.services.kadmind = {
|
||||
description = "Kerberos Administration Daemon";
|
||||
script = "${pkgs.heimdalFull}/libexec/heimdal/kadmind";
|
||||
serviceConfig.ExecStart = "${pkgs.heimdalFull}/libexec/heimdal/kadmind";
|
||||
};
|
||||
|
||||
systemd.services.kdc = {
|
||||
@ -36,13 +36,13 @@ in
|
||||
preStart = ''
|
||||
mkdir -m 0755 -p ${stateDir}
|
||||
'';
|
||||
script = "${pkgs.heimdalFull}/libexec/heimdal/kdc";
|
||||
serviceConfig.ExecStart = "${pkgs.heimdalFull}/libexec/heimdal/kdc";
|
||||
};
|
||||
|
||||
systemd.services.kpasswdd = {
|
||||
description = "Kerberos Password Changing daemon";
|
||||
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