This directory contains an example for running Syncthing in the background under macOS.
Install the syncthing binary in a directory called bin in your
home directory.
Edit the syncthing.plist by replacing USERNAME with your actual
username such as jb.
Copy the syncthing.plist file to ~/Library/LaunchAgents.
Log out and in again, or run launchctl load
~/Library/LaunchAgents/syncthing.plist.
You probably want to turn off "Start Browser" among the settings to avoid it opening a browser window on each login.
Logs are in ~/Library/Logs/Syncthing.log and, for crashes and exceptions,
~/Library/Logs/Syncthing-Error.log.