Openmediavault Syncthing plugin / Environment variable


(Tom Staels) #1

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

tia, Tom


(Tom Staels) #2

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


(Simon) #3

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*

(system) #4

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