Skip to content

Instantly share code, notes, and snippets.

@mikattack
Created March 5, 2013 13:35
Show Gist options
  • Save mikattack/5090352 to your computer and use it in GitHub Desktop.
Save mikattack/5090352 to your computer and use it in GitHub Desktop.
Launchd plist file for "uwsgi" in Emperor mode.
<?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>Disabled</key>
<false/>
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>it.unbit.uwsgi</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/share/python3/uwsgi</string>
<string>--logto</string>
<string>/usr/local/var/log/uwsgi.log</string>
<string>--emperor</string>
<string>/usr/local/etc/uwsgi/vassals/</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment