Mastodon Mastodon Mastodon Systeemkabouter blog – Syncthing on OpenBSD (incomplete notes)

Syncthing on OpenBSD (incomplete notes)

Posted on zo 09 november 2025 in runbsd

Incomplete notes for running syncthing on OpenBSD

pkg_add syncthing

systctl settings

bash-5.3# echo "kern.maxfiles=80000" >> /etc/sysctl.conf
bash-5.3# sysctl kern.maxfiles=80000

login.conf for syncthing daemon

syncthing:\
        :openfiles-cur=64000:\
        :openfiles-max=64000:\
        :tc=daemon:

set daemonflags in /etc/rc.d/syncthing:

daemon_flags="-no-browser -gui-address=0.0.0.0:8384"