Skip to content

Instantly share code, notes, and snippets.

@ChristinaMeno
Created February 3, 2012 13:41
Show Gist options
  • Save ChristinaMeno/1730219 to your computer and use it in GitHub Desktop.
Save ChristinaMeno/1730219 to your computer and use it in GitHub Desktop.
diff --git a/lib/med/db.d/ctl b/lib/med/db.d/ctl
index 07f26ec..39cfa79 100755
--- a/lib/med/db.d/ctl
+++ b/lib/med/db.d/ctl
@@ -1,6 +1,6 @@
#!/bin/sh
# Description: find the right version of pg_ctl and run it
set -e
-pg_ctl=`pg_config --bindir`/pg_ctl
+pg_ctl=`/usr/lib/postgresql/9.0/bin/pg_config --bindir`/pg_ctl
exec "$pg_ctl" "$@"
# vim: ft=sh :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment