Merge pull request #114393 from DarkDNA/feature/samba/network-online
nixos/samba: Add a wants=network-online.target to the target.
This commit is contained in:
commit
4c3c80df54
|
@ -224,6 +224,7 @@ in
|
||||||
targets.samba = {
|
targets.samba = {
|
||||||
description = "Samba Server";
|
description = "Samba Server";
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
|
wants = [ "network-online.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
};
|
};
|
||||||
# Refer to https://github.com/samba-team/samba/tree/master/packaging/systemd
|
# Refer to https://github.com/samba-team/samba/tree/master/packaging/systemd
|
||||||
|
|
Loading…
Reference in a new issue