anchor.diff:              while ! ${run} -c '${postgresql}/bin/pg_ctl status'; do
                   sleep 1
               done
  -          '';
  +          ''; # */
   
           postStop =
             ''
  
positive.code:   run = "${pkgs.su}/bin/su -s ${pkgs.stdenv.shell} postgres";
  
    flags = if cfg.enableTCPIP then ["-i"] else [];
  
  in
  
  
negative.code:                 mkdir -m 0700 -p ${cfg.dataDir}
                  chown -R postgres ${cfg.dataDir}
                  ${run} -c '${postgresql}/bin/initdb -U root'
                  rm -f ${cfg.dataDir}/*.conf
              fi
  
              ln -sfn ${configFile} ${cfg.dataDir}/postgresql.conf
  
              # We'd like to use the `-w' flag here to wait until the
              # database is up, but it requires a `postgres' user to
  