Simon Frei f2e9b40ad1 etc: Adjust all the startup scripts to new cmd (ref #7330) (#7353) | пре 3 година | |
---|---|---|
.. | ||
README.md | 6ffb95f6c8 etc: Add FreeBSD rc.d script | пре 7 година |
syncthing | f2e9b40ad1 etc: Adjust all the startup scripts to new cmd (ref #7330) (#7353) | пре 3 година |
This directory contains an example for running Syncthing with a rc.d
script in FreeBSD.
syncthing
in /usr/local/bin/syncthing
.syncthing
rc.d script in /usr/local/etc/rc.d/syncthing
.syncthing
at boot time, add the following line to /etc/rc.conf
:
syncthing_enable=YES
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 informations.