Merge pull request #73569 from Izorkin/samba

nixos/samba: fix autostart service
This commit is contained in:
Florian Klink 2019-11-17 17:57:20 +01:00 committed by GitHub
commit 1dc2199ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -40,6 +40,7 @@ let
daemonService = appName: args:
{ description = "Samba Service Daemon ${appName}";
after = [ (mkIf (cfg.enableNmbd && "${appName}" == "smbd") "samba-nmbd.service") ];
requiredBy = [ "samba.target" ];
partOf = [ "samba.target" ];