blob: b6e98ee0601f3a4501964c3a32148b831b7d8d3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
#
# Simple syncthing Tor wrapper
#
# See https://docs.syncthing.net/users/proxying.html
if which syncthing 2> /dev/null; then
export all_proxy=socks5://127.0.0.1:9050
syncthing "$@"
else
echo "error: syncthing not installed"
exit 1
fi
|