Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2018-07-29 15:11:03 +03:00
parent a19db08791
commit cf2c2e7645
22 changed files with 46 additions and 206 deletions

View File

@@ -1,13 +0,0 @@
#!/usr/bin/bash
[[ $PROXY_USER ]] || PROXY_USER='proxy'
[[ $PROXY_HOST ]] || PROXY_HOST='malganis.priv'
service_respawn=true
service_command=( /usr/bin/ssh -i ~/.ssh/proxy/id_ecdsa -ND 8080 "$PROXY_USER@$PROXY_HOST" )
function info {
printf 'Name: %s\n' "$service_name"
printf 'Command: %s\n' "${service_command[*]}"
(( service_respawn )) && printf 'Respawn: yes\n'
}