Bill-Stewart / stctl

Mozilla Public License 2.0
1 stars 0 forks source link

Support custom database/config folder #1

Open narcotico-g opened 3 weeks ago

narcotico-g commented 3 weeks ago

I would like to save database and config files in different folder.

If I run syncthing.exe --home="D:\XXX" it works, but this parameter is not supported by stctl.

Best option it will be installer allow choose specific folder or read this parameters from external file where we can modify them.

Thanks

Bill-Stewart commented 3 weeks ago

What stctl needs is the ability to accept any arbitrary syncthing.exe command line parameters after its own parameters (--start, --stop, -q).

Bill-Stewart commented 3 weeks ago

Just released v0.0.3. Can you try the following:

  1. Stop Syncthing
  2. Replace stctl.exe v0.0.2 with v0.0.3
  3. Add -- --home="homedirectory" (or whatever) to your stctl command line

The updated stctl.exe should let you specify whatever Syncthing parameters you want after the --.

Can you test?