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:
parent
e5e4fd8b28
commit
58ed0f5124
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue