Update WSDD service configuration for improved network handling and stability

This commit is contained in:
2025-12-09 16:57:48 +01:00
parent dbc64845f4
commit b92ccc8360
+4 -2
View File
@@ -116,11 +116,13 @@
systemd.services.wsdd = {
description = "Web Services Discovery daemon for Samba (wsdd)";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "samba-smbd.service" ];
after = [ "network-online.target" "samba.service" ];
wants = [ "network-online.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.wsdd}/bin/wsdd --hostname fileserver --workgroup WORKGROUP";
ExecStart = "${pkgs.wsdd}/bin/wsdd --hostname fileserver --workgroup WORKGROUP --interface ens18";
Restart = "on-failure";
RestartSec = 5;
};
};