Created
February 8, 2013 15:15
-
-
Save ilyakatz/4739610 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
1. /System/Library/LaunchDaemons/nginx.plist | |
2. to load: sudo launchctl load -F /System/Library/LaunchDaemons/nginx.plist | |
3. to unload: sudo launchctl unload /System/Library/LaunchDaemons/nginx.plist | |
--> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>homebrew.mxcl.nginx</string> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>KeepAlive</key> | |
<false/> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/sbin/nginx</string> | |
<string>-c</string> | |
<string>/Users/ilyakatz/ws/platform/config/nginx/nginx.conf</string> | |
<string>-g</string> | |
<string>daemon off;</string> | |
</array> | |
<key>WorkingDirectory</key> | |
<string>/usr/local</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment