syncthing/etc/freebsd-rc
luzpaz 837ffcfab5
all: Fix various user-facing and non-user-facing typos (#8509)
Found via `codespell -q 3 -S lang,./gui/default/vendor -L benchs,bu,inflight,ro`
2022-08-23 15:44:11 +02:00
..
README.md all: Fix various user-facing and non-user-facing typos (#8509) 2022-08-23 15:44:11 +02:00
syncthing etc: Adjust all the startup scripts to new cmd (ref #7330) (#7353) 2021-02-11 12:18:47 +01:00

This directory contains an example for running Syncthing with a rc.d script in FreeBSD.

  • Install syncthing in /usr/local/bin/syncthing.
  • Copy the syncthing rc.d script in /usr/local/etc/rc.d/syncthing.
  • To automatically start syncthing at boot time, add the following line to /etc/rc.conf:
syncthing_enable=YES
  • Optional configuration options are:
syncthing_home=</path/to/syncthing/config/dir>
syncthing_log_file=</path/to/syncthing/log/file>
syncthing_user=<syncthing_user>
syncthing_group=<syncthing_group>

See the rc.d script for more information.