pow: update documentation to avoid error on startup.

Closes Homebrew/homebrew#22935.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Bart ten Brinke 2013-09-30 13:02:31 +02:00 committed by Mike McQuaid
parent e5e4fd8b28
commit 58ed0f5124

View file

@ -18,13 +18,15 @@ class Pow < Formula
def caveats;
<<-EOS.undent
Sets up firewall rules to forward port 80 to Pow:
sudo pow --install-system
Create the required host directories:
mkdir -p ~/Library/Application\ Support/Pow/Hosts
ln -s ~/.pow ~/Library/Application\ Support/Pow/Hosts
Installs launchd agent to start on login:
Setup port 80 forwarding and launchd agents:
sudo pow --install-system
pow --install-local
Enables both launchd agents:
Load launchd agents:
sudo launchctl load -w /Library/LaunchDaemons/cx.pow.firewall.plist
launchctl load -w ~/Library/LaunchAgents/cx.pow.powd.plist
EOS