Last active
March 26, 2018 12:07
-
-
Save kowalcj0/b5e31bf5d628ad1e44e5479fe5d1ff47 to your computer and use it in GitHub Desktop.
notes from installing syncthing in freebsd 10.3 jail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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