Openmediavault Syncthing plugin / Environment variable

Does anyone know how to set STTRACE environment variable for Syncthing on Openmediavault ?

tia, Tom

or in any distro using systemd, for that matter … ?

That last piece of information was kind of relevant :wink:

Searching the extensive and fractured systemd documentation is a pain, but you can easily find this information with a google search:
Place a file containing the following to /etc/systemd/system/syncthing@.service.d (or the user directory, but I assume you run it as system service), run systemctl daemon-reload and restart the Syncthing service:

[Service]
Environment=STTRACE=*your value*
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.