Skip to content
Snippets Groups Projects
Unverified Commit ba7398ff authored by Bob Mottram's avatar Bob Mottram
Browse files

mesh version of syncthing doesn't use tor

parent 27e4b04a
No related branches found
No related tags found
No related merge requests found
......@@ -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'
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment