Skip to content

Instantly share code, notes, and snippets.

@guillaumewuip
Last active July 2, 2016 19:25
Show Gist options
  • Save guillaumewuip/be0d8b36fd4b82398a067509942c1b78 to your computer and use it in GitHub Desktop.
Save guillaumewuip/be0d8b36fd4b82398a067509942c1b78 to your computer and use it in GitHub Desktop.
macOS launch daemon for dokku
<?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>org.dokku.start</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin</string>
</dict>
<key>Program</key>
<string>/opt/vagrant/bin/vagrant</string>
<key>ProgramArguments</key>
<array>
<string>/opt/vagrant/bin/vagrant</string>
<string>up</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>USER</string>
<key>WorkingDirectory</key>
<string>/Users/USER/dokku</string>
<key>StandardInPath</key>
<string>/Users/USER/dokku/plist.stdin</string>
<key>StandardOutPath</key>
<string>/Users/USER/dokku/plist.stdout</string>
<key>StandardErrorPath</key>
<string>/Users/USER/dokku/plist.stderr</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment