Onion route syncthing

This commit is contained in:
Bob Mottram 2016-04-18 09:59:10 +01:00
parent b430a77db2
commit bb0047752a
1 changed files with 1 additions and 0 deletions

View File

@ -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