Skip to content

Instantly share code, notes, and snippets.

@kowalcj0
Last active March 26, 2018 12:07
Show Gist options
  • Save kowalcj0/b5e31bf5d628ad1e44e5479fe5d1ff47 to your computer and use it in GitHub Desktop.
Save kowalcj0/b5e31bf5d628ad1e44e5479fe5d1ff47 to your computer and use it in GitHub Desktop.
notes from installing syncthing in freebsd 10.3 jail
# 1 - create syncthing jail
# 2 - add storage
# install bash and syncthing
pkg install bash
pkg install syncthing
# add syncthing user
```
adduser
```
# with such details
# name=syncthing
# gid=10001
# shell=bash
# (optionally)
# groups=wheel
jls
jexec -u syncthing 3 bash
sudo vi /etc/rc.conf
syncthing_enable="YES"
syncthing_user="syncthing"
syncthing_dir="/home/syncthing/.config/syncthing"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment