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' }