syncthing.conf 591 B

123456789101112131415161718192021
  1. # Location of the syncthing executable
  2. env SYNCTHING_EXE="/usr/local/bin"
  3. # Set the name of the application
  4. description "Syncthing"
  5. # Start syncthing you login to your desktop
  6. start on desktop-start
  7. # Stop syncthing you logout of your desktop
  8. stop on desktop-end
  9. # Set STNORESTART to yes to have Upstart monitor the process instead
  10. # of having a separate syncthing process do the monitoring
  11. env STNORESTART=yes
  12. # If Upstart detects syncthing has failed - it should restart it
  13. respawn
  14. # the syncthing command Upstart is to execute when it is started up
  15. exec $SYNCTHING_EXE --no-browser