Update WSDD service configuration for improved network handling and stability
This commit is contained in:
@@ -116,11 +116,13 @@
|
|||||||
systemd.services.wsdd = {
|
systemd.services.wsdd = {
|
||||||
description = "Web Services Discovery daemon for Samba (wsdd)";
|
description = "Web Services Discovery daemon for Samba (wsdd)";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" "samba-smbd.service" ];
|
after = [ "network-online.target" "samba.service" ];
|
||||||
|
wants = [ "network-online.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
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";
|
Restart = "on-failure";
|
||||||
|
RestartSec = 5;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user