Skip to content

Instantly share code, notes, and snippets.

@gasp
Created July 21, 2012 22:29
Show Gist options
  • Save gasp/3157426 to your computer and use it in GitHub Desktop.
Save gasp/3157426 to your computer and use it in GitHub Desktop.
useful mamp terminal controller
# /bin/sh
case $1 in
start)
/Applications/MAMP/bin/startMysql.sh
/Applications/MAMP/bin/startApache.sh
;;
stop)
/Applications/MAMP/bin/stopMysql.sh
/Applications/MAMP/bin/stopApache.sh
;;
*)
echo "Usage: /mamp.sh {start|stop}"
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment