syncthing jail reset-deltas?

daemonix

Dabbler
Joined
Jun 3, 2022
Messages
21
Hi all,

Im not really up to speed with jails in freebsd (I was into it around 199X..).

What is the best way to run syncthing once with an extra parameter like --reset-deltas etc.

Thanks
 

daemonix

Dabbler
Joined
Jun 3, 2022
Messages
21
Isn't there someone that needed to reset deltas inside the jail?
How do I start the jail with extra parameters? :S
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Isn't there someone that needed to reset deltas inside the jail?
Seems nobody who reads the forums...

How do I start the jail with extra parameters?
What you're looking for is the file in the jail which is probably called syncthing (but maybe something else):

/usr/local/etc/rc.d/syncthing

in that file, you'll have the command used to launch the process on startup. I guess that's what you'll need to change. Or at least take it and run the modified version of it at the jail shell.
 

daemonix

Dabbler
Joined
Jun 3, 2022
Messages
21
Seems nobody who reads the forums...


What you're looking for is the file in the jail which is probably called syncthing (but maybe something else):

/usr/local/etc/rc.d/syncthing

in that file, you'll have the command used to launch the process on startup. I guess that's what you'll need to change. Or at least take it and run the modified version of it at the jail shell.
thanks a lot! Im not up to speed with Freebsd nowadays... I should have thought about the rc... All good now!
 
Top