cockpit: fix listen port (#371245)

This commit is contained in:
elratt0r 2025-01-18 00:04:09 +01:00 committed by elratt0r
parent b03be39245
commit c460b15aa0

View File

@ -55,6 +55,7 @@ in {
systemd.packages = [ cfg.package ];
systemd.sockets.cockpit.wantedBy = [ "multi-user.target" ];
systemd.sockets.cockpit.listenStreams = [ "" (toString cfg.port) ];
systemd.tmpfiles.rules = [ # From $out/lib/tmpfiles.d/cockpit-tmpfiles.conf
"C /run/cockpit/inactive.motd 0640 root root - ${cfg.package}/share/cockpit/motd/inactive.motd"