Skip to content

Instantly share code, notes, and snippets.

@randy3k
Created September 19, 2017 22:07
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 randy3k/e577af289962f867be7875c38810f936 to your computer and use it in GitHub Desktop.
Save randy3k/e577af289962f867be7875c38810f936 to your computer and use it in GitHub Desktop.
syncthing 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.syncthing</string>
<key>EnvironmentVariables</key>
<dict>
<key>HOME</key>
<string>/Users/Randy</string>
</dict>
<key>ProgramArguments</key>
<array>
<string>/usr/local/opt/syncthing/bin/syncthing</string>
<string>-no-browser</string>
<string>-no-restart</string>
</array>
<key>KeepAlive</key>
<dict>
<key>Crashed</key>
<true/>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>ProcessType</key>
<string>Background</string>
<key>StandardErrorPath</key>
<string>/usr/local/var/log/syncthing.log</string>
<key>StandardOutPath</key>
<string>/usr/local/var/log/syncthing.log</string>
<key>UserName</key>
<string>Randy</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment