mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
kerberos-server: switch to ExecStart
script causes problems for forking services like MIT Kerberos.
This commit is contained in:
parent
4f9af77287
commit
fe8f2b8813
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue