Page 1 of 1

syncthing on GhostBSD

Posted: Thu Sep 26, 2019 5:00 am
by silmaril
I just installed GhostBSD 19.09 on an 11 year old notebook - and I am impressed how nicely this old hardware can be used with this OS!

So I wanted to synchronize some documents with other computers and installed syncthing

Code: Select all

sudo pkg install syncthing
I edited /etc/rc.conf and added the line

Code: Select all

syncthing_enable="YES"
Now I have two issues:
(1) I can start syncthing manually by calling

Code: Select all

sudo service syncthing start
But it won't start automatically when the system is started.
I was under the impression that this should be the case with the line I added to /etc/rc.conf
What have I missed?

(2) I made a new directory for syncthing data:

Code: Select all

sudo mkdir /syncthing
sudo chown syncthing:operator /syncthing
sudo chmod g+w /syncthing/
My intention was that all synced content should be writeable by all users in the operator group.
But all files generated by syncthing only have read access for the group.
I have activated "ignore permissions" in the syncthing GUI.
Does anybody know, how I can tell syncthing to give write permissions to the group as well?

Thank you very much in advance for your help!

Re: syncthing on GhostBSD

Posted: Mon Sep 30, 2019 10:43 am
by ouaille_aime_scier_
With OpenRc you have to declare in root mode : rc-update add <daemon name> <start level [if other than default]>.
Launching the service via the rc.conf file is inoperative.

Re: syncthing on GhostBSD

Posted: Wed Oct 02, 2019 3:15 pm
by silmaril
Thanks for this hint! I will test this...