2014-11-24 12:46:38 +00:00
|
|
|
<?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">
|
2015-07-06 19:45:49 +00:00
|
|
|
<!--
|
2015-08-19 08:42:48 +00:00
|
|
|
Make sure the "syncthing" executable is located at ~/bin/syncthing.
|
2015-07-06 19:45:49 +00:00
|
|
|
Replace the string "USERNAME" in this file with your username, such as "jb".
|
|
|
|
Copy this file to ~/Library/LaunchAgents/syncthing.plist.
|
|
|
|
Execute "launchctl load ~/Library/LaunchAgents/syncthing.plist".
|
|
|
|
-->
|
2014-11-24 12:46:38 +00:00
|
|
|
<plist version="1.0">
|
|
|
|
<dict>
|
|
|
|
<key>Label</key>
|
|
|
|
<string>net.syncthing.syncthing</string>
|
|
|
|
|
|
|
|
<key>ProgramArguments</key>
|
|
|
|
<array>
|
2015-07-06 19:45:49 +00:00
|
|
|
<string>/Users/USERNAME/bin/syncthing</string>
|
2014-11-24 12:46:38 +00:00
|
|
|
</array>
|
|
|
|
|
|
|
|
<key>EnvironmentVariables</key>
|
|
|
|
<dict>
|
|
|
|
<key>HOME</key>
|
2015-07-06 19:45:49 +00:00
|
|
|
<string>/Users/USERNAME</string>
|
2014-11-24 12:46:38 +00:00
|
|
|
<key>STNORESTART</key>
|
|
|
|
<string>1</string>
|
|
|
|
</dict>
|
|
|
|
|
|
|
|
<key>KeepAlive</key>
|
|
|
|
<true/>
|
|
|
|
|
|
|
|
<key>LowPriorityIO</key>
|
|
|
|
<true/>
|
|
|
|
|
|
|
|
<key>ProcessType</key>
|
|
|
|
<string>Background</string>
|
2015-07-06 19:45:49 +00:00
|
|
|
|
|
|
|
<key>StandardOutPath</key>
|
|
|
|
<string>/Users/USERNAME/Library/Logs/Syncthing.log</string>
|
|
|
|
|
|
|
|
<key>StandardErrorPath</key>
|
|
|
|
<string>/Users/USERNAME/Library/Logs/Syncthing-Errors.log</string>
|
2014-11-24 12:46:38 +00:00
|
|
|
</dict>
|
|
|
|
</plist>
|