syncthing on GhostBSD  [SOLVED]

Everything related to Installing and maintaining software with pkg(pkgng).
Post Reply
silmaril
Posts: 2
Joined: Thu Sep 26, 2019 4:43 am
Has thanked: 0
Been thanked: 0

syncthing on GhostBSD

Post by silmaril » Thu Sep 26, 2019 5:00 am

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: 19
Joined: Sun Sep 01, 2019 1:38 pm
Has thanked: 0
Been thanked: 2 times

Re: syncthing on GhostBSD  [SOLVED]

Post by ouaille_aime_scier_ » Mon Sep 30, 2019 10:43 am

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
Has thanked: 0
Been thanked: 0

Re: syncthing on GhostBSD

Post by silmaril » Wed Oct 02, 2019 3:15 pm

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

Post Reply