]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/plugins/apache2-macports/apache2-macports.plugin.zsh
merge oh-my-zsh into subdir
[dotfiles.git] / zsh / plugins / apache2-macports / apache2-macports.plugin.zsh
diff --git a/zsh/plugins/apache2-macports/apache2-macports.plugin.zsh b/zsh/plugins/apache2-macports/apache2-macports.plugin.zsh
new file mode 100644 (file)
index 0000000..1caa4cf
--- /dev/null
@@ -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'