nixos/samba: start service after network activation
This commit is contained in:
parent
f3d84b91e9
commit
cfd837442f
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ let
|
|||
daemonService = appName: args:
|
||||
{ description = "Samba Service Daemon ${appName}";
|
||||
|
||||
after = [ (mkIf (cfg.enableNmbd && "${appName}" == "smbd") "samba-nmbd.service") ];
|
||||
after = [ (mkIf (cfg.enableNmbd && "${appName}" == "smbd") "samba-nmbd.service") "network.target" ];
|
||||
requiredBy = [ "samba.target" ];
|
||||
partOf = [ "samba.target" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue