Subject: [alpine-aports] [PATCH] community/autossh: update README.alpine

From: Stuart Cardall <[email-masked]>
Date: Thu, 1 Sep 2016 16:36:54 +0000

---
 community/autossh/APKBUILD      | 8 ++++----
 community/autossh/README.alpine | 9 +++++----
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/community/autossh/APKBUILD b/community/autossh/APKBUILD
index ef27bd3..0ca2e88 100644
--- a/community/autossh/APKBUILD
+++ b/community/autossh/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Stuart Cardall <[email-masked]>
 pkgname=autossh
 pkgver=1.4e
-pkgrel=0
+pkgrel=1
 pkgdesc="Automatically restart SSH sessions and tunnels"
 url="http://www.harding.motd.ca/autossh/"
 arch="all"
@@ -59,8 +59,8 @@ package() {
 }
 
 md5sums="f86684b96e99d22b2e9d35dc63b0aa29  autossh-1.4e.tgz
-fb31542bb76c90a8286fdf8eca402d1e  README.alpine"
+a3ed8e9fdefac64d1b7f17a52587c0e1  README.alpine"
 sha256sums="9e8e10a59d7619176f4b986e256f776097a364d1be012781ea52e08d04679156  autossh-1.4e.tgz
-7e1a64e013743e94aa9477968d1a9dc9ca71f11b45a0530088d0c03b19f474cb  README.alpine"
+f01d7e7ca2f3751875a756f3f2ba5a28cb2703fea21026d7c29a9bfc4a969b79  README.alpine"
 sha512sums="2f71403ee005103c6a3e2e669f6b26153161c95c8dacd3e73d61673461b3512348636877760d911341771e744c0a682b107df4ac48621661ff36a9fc0191f2fb  autossh-1.4e.tgz
-25ec2d17c5b93d8c3f5b41f1bb2671432e8d29081621fe58ff8de4c20171b7447459272a27264440a947ef5867ed15bbaaea8ea7ec02783956055e0ee8e31128  README.alpine"
+40cf39a391ad7320a07fbe8d4edd17498c92794f330393374406a0dbf4a0415d51e1fe11e6d2d07f399025bf8620b8937abd152c00be0297b30c6c3a876675cb  README.alpine"
diff --git a/community/autossh/README.alpine b/community/autossh/README.alpine
index d7013c3..f67cbd9 100644
--- a/community/autossh/README.alpine
+++ b/community/autossh/README.alpine
@@ -16,10 +16,11 @@ echo 'y' |ssh-keygen -t ed25519 -N ''
 
 -------------------------------------------------------------------
 #!/bin/sh
+sleep 2
 exec 2>&1
 su -s /bin/sh autossh -c \
-'autossh -M 0 -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -L 1234:localhost:1234 -N -l autossh remote.ip.addr'
--------------------------------------------------------------------------------------------------------------------------
+'export AUTOSSH_GATETIME=0 && nohup autossh -M 0 -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -L 1234:localhost:1234 -N -l autossh remote.ip.addr'
+------------------------------------------------------------------------------------------------------------------------------------------------------------
 ln -s /etc/sv/autossh /etc/service/autossh
 -------------------------------------------------------------------------------
 ** if running autossh in a script without using runit add -f to ssh options **|
@@ -30,5 +31,5 @@ ln -s /etc/sv/autossh /etc/service/autossh
 psql -h 127.0.0.1 -p 1234 -U username -d database
 -------------------------------------------------------------------------------
 openssh-server: works out of the box			| ed25519 keys possible
-dropbear: 	echo "/bin/false" >> /etc/shells	| ecdsa keys possible
-tinyssh: 	port forwarding not yet implemented     | ed25519 keys possible
+dropbear:	echo "/bin/false" >> /etc/shells	| ecdsa keys possible
+tinyssh:	port forwarding not yet implemented     | ed25519 keys possible
-- 
2.9.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---