Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2017-05-03 16:13:50 +03:00
parent c78cb78ff0
commit 666770d74c
10 changed files with 28 additions and 26 deletions

View File

@@ -1,5 +1,8 @@
#!/usr/bin/watchman
#!/usr/bin/bash
service_respaen=true
[[ $PROXY_USER ]] || PROXY_USER='proxy'
[[ $PROXY_HOST ]] || PROXY_HOST='malganis.priv'
service_respawn=true
service_command='/usr/bin/ssh'
service_args=( -i ~/.ssh/proxy/id_ecdsa -ND 8080 proxy@malganis.priv )
service_args=( -i ~/.ssh/proxy/id_ecdsa -ND 8080 "$PROXY_USER@$PROXY_HOST" )