anchor.diff:      # do status queries.
       services.dbus.packages = [ upstart ];
   
  +    system.activationScripts.chownJobLogs = stringAfter ["var"] 
  +    (concatMapStrings (job: ''
  +      touch /var/log/upstart/${job.name}
  +      ${optionalString (job.setuid != "") "chown ${job.setuid} /var/log/upstart/${job.name}"}
  +      ${optionalString (job.setgid != "") "chown :${job.setgid} /var/log/upstart/${job.name}"}
  +    '') (attrValues config.jobs));
  +
     };
   
   }
  
positive.code:              throw "invalid daemon type `${job.daemonType}'"
            )}
  
            ${job.extraConfig}
          '';
  
  
negative.code: 
    upstart = pkgs.upstart;
  
    userExists = u:
      (u == "") || any (uu: uu.name == u) (attrValues config.users.extraUsers);
  
    groupExists = g:
      (g == "") || any (gg: gg.name == g) (attrValues config.users.extraGroups);
  
    # From a job description, generate an Upstart job file.
    makeJob = job:
  