forked from mirrors/nixpkgs
nixos/samba: Add a wants=network-online.target to the target.
The linked units are all wants=network-online.target and I suspect an issue I've had where nmbd was only announcing on a 169.x.x.x address is caused by this.
This commit is contained in:
parent
b884af7c1d
commit
50df42f0f3
|
@ -218,6 +218,7 @@ in
|
|||
targets.samba = {
|
||||
description = "Samba Server";
|
||||
after = [ "network.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
# Refer to https://github.com/samba-team/samba/tree/master/packaging/systemd
|
||||
|
|
Loading…
Reference in a new issue