postgres.sh 228 Bytes
#!/bin/bash

case $1 in
start) /opt/stack/postgres/ctlscript.sh start postgresql;;
 stop) /opt/stack/postgres/ctlscript.sh stop postgresql;;
status) /opt/stack/postgres/ctlscript.sh status postgresql;;
    *) echo "not im"
esac