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:
Pascal Bach 2022-03-21 19:25:50 +01:00 committed by GitHub
commit 4c3c80df54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -224,6 +224,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