Syncthing jail
Last updated
iocage exec syncthing 'mkdir -p /mnt/syncthing/data'
iocage fstab --add syncthing '/mnt/tank/data/syncthing/sync /mnt/syncthing/data nullfs rw 0 0'iocage start syncthing
iocage console syncthingpkg update && pkg upgrade
pkg install syncthing ca_root_nsssysrc 'syncthing_enable=YES'
sysrc 'syncthing_user=syncthing' && sysrc 'syncthing_group=syncthing'
sysrc 'syncthing_home=/var/db/syncthing'service syncthing startservice syncthing restart<gui enabled="true" tls="false">
<address>127.0.0.1:8384</address>;
<apikey>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</apikey>;
</gui><gui enabled="true" tls="false">
<address>0.0.0.0:8384</address>;
<apikey>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</apikey>;
</gui>service syncthing restart