anchor.diff:        { description = "pump.io social network stream server";
           after = [ "network.target" ];
           wantedBy = [ "multi-user.target" ];
  +
  +        preStart = ''
  +          mkdir -p ${dataDir}/uploads
  +          chown pumpio:pumpio ${dataDir}/uploads
  +          chmod 770 ${dataDir}/uploads
  +        '';
  +
           serviceConfig.ExecStart = "${pkgs.pumpio}/bin/pump -c /etc/pump.io.json";
  +        PermissionsStartOnly = true;
           serviceConfig.User = if cfg.port < 1024 then "root" else user;
           serviceConfig.Group = user;
         };
  
positive.code:     smtpfrom = cfg.smtpFrom;
  
      nologger = false;
      uploaddir =  "${dataDir}/uploads";
      debugClient = false;
      firehose = cfg.firehose;
      disableRegistration = cfg.disableRegistration;
  
negative.code:         '';
        };
  
        enableUploads = mkOption {
          type = types.bool;
          default = true;
          description = ''
            If you want to disable file uploads, set this to false. Uploaded files will be stored
            in ${dataDir}/uploads.
          '';
        };
  
        sslKey = mkOption {
          type = types.path;
          example = "${dataDir}/myserver.key";
  