kerberos-server: move kadmind to systemd
Don't use socket activation, as inetd is discouraged by heimdal documentation.
This commit is contained in:
parent
dfdd348206
commit
ee3bd730d4
@ -34,16 +34,10 @@ in
|
|||||||
config = mkIf config.services.kerberos_server.enable {
|
config = mkIf config.services.kerberos_server.enable {
|
||||||
|
|
||||||
environment.systemPackages = [ heimdalFull ];
|
environment.systemPackages = [ heimdalFull ];
|
||||||
|
systemd.services.kadmind = {
|
||||||
services.xinetd.enable = true;
|
description = "Kerberos Administration Daemon";
|
||||||
services.xinetd.services = lib.singleton
|
script = "${pkgs.heimdalFull}/libexec/heimdal/kadmind";
|
||||||
{ name = "kerberos-adm";
|
};
|
||||||
flags = "REUSE NAMEINARGS";
|
|
||||||
protocol = "tcp";
|
|
||||||
user = "root";
|
|
||||||
server = "${pkgs.tcp_wrappers}/bin/tcpd";
|
|
||||||
serverArgs = "${pkgs.heimdalFull}/libexec/heimdal/kadmind";
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.services.kdc = {
|
systemd.services.kdc = {
|
||||||
description = "Key Distribution Center daemon";
|
description = "Key Distribution Center daemon";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user