Update the server hostname

This commit is contained in:
Rodolphe Bréard 2020-12-16 18:34:32 +01:00
parent 452cf31bf4
commit 3e1f253d6e

View file

@ -4,7 +4,7 @@ set -euo pipefail
IFS=$'\n\t' IFS=$'\n\t'
SOCKS_PORT="1080" SOCKS_PORT="1080"
SOCKS_HOST="saturn" SOCKS_HOST="tiana"
pgrep -f "$SOCKS_PORT $SOCKS_HOST" >/dev/null || ssh -f -N -D "$SOCKS_PORT" "$SOCKS_HOST" >/dev/null 2>&1 & pgrep -f "$SOCKS_PORT $SOCKS_HOST" >/dev/null || ssh -f -N -D "$SOCKS_PORT" "$SOCKS_HOST" >/dev/null 2>&1 &
chromium --proxy-server="socks://localhost:$SOCKS_PORT" >/dev/null 2>&1 & chromium --proxy-server="socks://localhost:$SOCKS_PORT" >/dev/null 2>&1 &