Update WSDD service configuration for improved network handling and stability
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user