Skip to content

Instantly share code, notes, and snippets.

@moonwatcher
Created September 24, 2014 02:43
Show Gist options
  • Select an option

  • Save moonwatcher/f90e1f5849ede93d77f1 to your computer and use it in GitHub Desktop.

Select an option

Save moonwatcher/f90e1f5849ede93d77f1 to your computer and use it in GitHub Desktop.
Launchd init script for tuboweb
<?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>edu.nyu.bio.tuboweb</string>
<key>WorkingDirectory</key>
<string>/Users/gs/DEV/gencore</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/Cellar/python3/3.4.1/Frameworks/Python.framework/Versions/3.4/Resources/Python.app/Contents/MacOS/Python</string>
<string>manage.py</string>
<string>runserver</string>
<string>128.122.3.154:8000</string>
</array>
<key>StandardOutPath</key>
<string>/usr/local/var/log/tuboweb/stdout</string>
<key>StandardErrorPath</key>
<string>/usr/local/var/log/tuboweb/stderr</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment