Skip to content

Instantly share code, notes, and snippets.

View supaplextor's full-sized avatar

Scott Edwards supaplextor

  • United States
View GitHub Profile
@supaplextor
supaplextor / pg_init.d.sh
Last active April 24, 2018 23:06 — forked from buruzaemon/gist:5351379
Sample Postgresql start/stop script for Cygwin
#!/usr/bin/bash
CYGWIN=server
CYGSERVER=/usr/sbin/cygserver
PGDATA=/usr/share/postgresql/data
PGCTL=/usr/sbin/pg_ctl
PGLOG=/var/log/postgresql.log
usage() {
echo "USAGE: pg (start|stop|restart|reload|status)"
echo