Skip to content

Instantly share code, notes, and snippets.

@witsch
Created August 17, 2013 13:28
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save witsch/6256848 to your computer and use it in GitHub Desktop.
Save witsch/6256848 to your computer and use it in GitHub Desktop.
run `devpi-server` (http://devpi.net/) using `launchd` on OSX
<?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>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.devpi.devpi-server</string>
<key>ProgramArguments</key>
<array>
<string>/Users/zeidler/Development/bin/devpi-server</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>zeidler</string>
<key>WorkingDirectory</key>
<string>/Users/zeidler/.devpi</string>
<key>StandardErrorPath</key>
<string>/Users/zeidler/.devpi/server/log.txt</string>
</dict>
</plist>
@witsch
Copy link
Author

witsch commented Aug 17, 2013

steps required:

  • put the below file into ~/Library/LaunchAgents/net.devpi.devpi-server.plist
  • adjust the paths to use your own home directory
  • run launchctl load -w ~/Library/LaunchAgents/net.devpi.devpi-server.plist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment