mirror of https://github.com/rapenne-s/bento
remote_port: bugfix for existing bento configurations
now REMOTE_PORT is set in `bento`, just like TIMEOUT and therefore optional. Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
6ec3dd7b4e
commit
fcefd9e815
1
bento
1
bento
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
TIMEOUT=20
|
||||
REMOTE_PORT=22
|
||||
|
||||
# FUNCTION LIBRARIES
|
||||
usage() {
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
CHROOT_DIR=/home/chroot
|
||||
REMOTE_IP=myserver.example
|
||||
REMOTE_PORT=22
|
||||
|
||||
# Optional
|
||||
|
||||
# maxium time waiting for the SFTP connection to connect
|
||||
# default value is 20
|
||||
#TIMEOUT=20
|
||||
# port to connect to the remote server
|
||||
# default is 22
|
||||
#REMOTE_PORT=22
|
||||
|
|
Loading…
Reference in New Issue