diff --git a/src/freedombone b/src/freedombone index c4dfd72c..f42d13a1 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6144,6 +6144,7 @@ function install_syncthing { echo '' >> /etc/systemd/system/syncthing.service echo '[Service]' >> /etc/systemd/system/syncthing.service echo 'User=root' >> /etc/systemd/system/syncthing.service + echo "Environment='all_proxy=socks5://localhost:9050'" >> /etc/systemd/system/syncthing.service echo 'ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0' >> /etc/systemd/system/syncthing.service echo 'Restart=on-failure' >> /etc/systemd/system/syncthing.service echo 'SuccessExitStatus=3 4' >> /etc/systemd/system/syncthing.service