Skip to content

Instantly share code, notes, and snippets.

@ilyakatz
Created February 8, 2013 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilyakatz/4739610 to your computer and use it in GitHub Desktop.
Save ilyakatz/4739610 to your computer and use it in GitHub Desktop.
<!--
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