anchor.diff:        };
   
         serviceConfig = {
  -        ExecStart = "${samba}/sbin/${appName} ${args}";
  +        Type = "notify";
  +        NotifyAccess = "all";
  +        ExecStart = "${samba}/sbin/${appName} --foreground --no-process-group";
           ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
         };
   
  
positive.code:       ${smbToString (map shareConfig (attrNames cfg.shares))}
      '');
  
    daemonService = appName: args:
      { description = "Samba Service Daemon ${appName}";
  
        requiredBy = [ "samba.target" ];
  
negative.code:           };
  
            services = {
              "samba-nmbd" = daemonService "nmbd";
              "samba-smbd" = daemonService "smbd";
              "samba-winbindd" = daemonService "winbindd";
              "samba-setup" = {
                description = "Samba Setup Task";
                script = setupScript;
  