syncthing on GhostBSD

Everything related to Installing and maintaining software.
Post Reply
silmaril
Posts: 2
Joined: Thu Sep 26, 2019 4:43 am

syncthing on GhostBSD

Post 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!
ouaille_aime_scier_
Posts: 71
Joined: Sun Sep 01, 2019 1:38 pm

Re: syncthing on GhostBSD

Post 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.
silmaril
Posts: 2
Joined: Thu Sep 26, 2019 4:43 am

Re: syncthing on GhostBSD

Post by silmaril »

Thanks for this hint! I will test this...
Post Reply