Skip to content
Browse files

Added start/stop aliases for Apache 2 installation via macports.

  • Loading branch information...
1 parent 971b071 commit 34f1944016a7671fe47aca99f18f25d19f6ff5dc @alexrinass alexrinass committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 plugins/apache2-macports/apache2-macports.plugin.zsh
6 plugins/apache2-macports/apache2-macports.plugin.zsh
@@ -0,0 +1,6 @@
+# commands to control local apache2 server installation
+# paths are for osx installation via macports
+alias apache2start='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start'
+alias apache2stop='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop'
+alias apache2restart='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart'

0 comments on commit 34f1944

Please sign in to comment.
Something went wrong with that request. Please try again.