From ba7398ffbd7296bf31adc6540e99256f553c968e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 7 Aug 2016 22:54:19 +0100 Subject: [PATCH] mesh version of syncthing doesn't use tor --- src/freedombone-app-syncthing | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/freedombone-app-syncthing b/src/freedombone-app-syncthing index c93c50dd..8e7167aa 100755 --- a/src/freedombone-app-syncthing +++ b/src/freedombone-app-syncthing @@ -272,7 +272,6 @@ function mesh_install_syncthing { echo '' >> $rootdir/etc/systemd/system/syncthing.service echo '[Service]' >> $rootdir/etc/systemd/system/syncthing.service echo 'User=root' >> $rootdir/etc/systemd/system/syncthing.service - echo "Environment='all_proxy=socks5://localhost:9050'" >> $rootdir/etc/systemd/system/syncthing.service echo 'ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0' >> $rootdir/etc/systemd/system/syncthing.service echo 'Restart=on-failure' >> $rootdir/etc/systemd/system/syncthing.service echo 'SuccessExitStatus=3 4' >> $rootdir/etc/systemd/system/syncthing.service @@ -282,10 +281,6 @@ function mesh_install_syncthing { echo 'WantedBy=multi-user.target' >> $rootdir/etc/systemd/system/syncthing.service chroot "$rootdir" systemctl enable syncthing - if ! grep -q "syncthing" $rootdir/etc/crontab; then - echo "*/1 * * * * root /usr/local/bin/${PROJECT_NAME}-syncthing > /dev/null" >> $rootdir/etc/crontab - fi - echo 'mesh_install_syncthing' }