Browse Source

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

Alexander Rinass 13 years ago
parent
commit
34f1944016
1 changed files with 6 additions and 0 deletions
  1. 6 0
      plugins/apache2-macports/apache2-macports.plugin.zsh

+ 6 - 0
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'