Change cherokee plist install location and instructions to that of /Library

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Chris Hoffman 2010-06-26 12:32:24 -05:00 committed by Adam Vandenberg
parent 8b75309a95
commit c1df0977a7
1 changed files with 5 additions and 5 deletions

View File

@ -20,13 +20,13 @@ class Cherokee <Formula
for logging and runtime files.
If this is your first install, automatically load on startup with:
cp #{prefix}/org.cherokee.webserver.plist ~/Library/LaunchDaemons
launchctl load -w ~/Library/LaunchDaemons/org.cherokee.webserver.plist
sudo cp #{prefix}/org.cherokee.webserver.plist /Library/LaunchDaemons
sudo launchctl load -w /Library/LaunchDaemons/org.cherokee.webserver.plist
If this is an upgrade and you already have the plist loaded:
launchctl unload -w ~/Library/LaunchDaemons/org.cherokee.webserver.plist
cp #{prefix}/org.cherokee.webserver.plist ~/Library/LaunchDaemons
launchctl load -w ~/Library/LaunchDaemons/org.cherokee.webserver.plist
sudo launchctl unload -w /Library/LaunchDaemons/org.cherokee.webserver.plist
sudo cp #{prefix}/org.cherokee.webserver.plist /Library/LaunchDaemons
sudo launchctl load -w /Library/LaunchDaemons/org.cherokee.webserver.plist
EOS
end