Added _REMOTE_TOKEN entry
This commit is contained in:
parent
c7f676bd6e
commit
72da1882d4
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
###### osync - Rsync based two way sync engine with fault tolerance
|
###### osync - Rsync based two way sync engine with fault tolerance
|
||||||
###### (C) 2013-2016 by Orsiris de Jong (www.netpower.fr)
|
###### (C) 2013-2016 by Orsiris de Jong (www.netpower.fr)
|
||||||
###### osync v1.1x / v1.2x config file rev 2017020501
|
###### osync v1.1x / v1.2x config file rev 2017020801
|
||||||
|
|
||||||
## ---------- GENERAL OPTIONS
|
## ---------- GENERAL OPTIONS
|
||||||
|
|
||||||
|
@ -23,6 +23,9 @@ SSH_RSA_PRIVATE_KEY="/home/backupuser/.ssh/id_rsa"
|
||||||
## Alternatively, you may specify an SSH password file (less secure). Needs sshpass utility installed.
|
## Alternatively, you may specify an SSH password file (less secure). Needs sshpass utility installed.
|
||||||
SSH_PASSWORD_FILE=""
|
SSH_PASSWORD_FILE=""
|
||||||
|
|
||||||
|
## When using ssh filter, you must specify a remote token matching the one setup in authorized_keys
|
||||||
|
_REMOTE_TOKEN=SomeAlphaNumericToken9
|
||||||
|
|
||||||
## Create sync directories if they do not exist
|
## Create sync directories if they do not exist
|
||||||
CREATE_DIRS=no
|
CREATE_DIRS=no
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ AUTHOR="(C) 2016-2017 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
OLD_PROGRAM_VERSION="v1.0x-v1.1x"
|
OLD_PROGRAM_VERSION="v1.0x-v1.1x"
|
||||||
NEW_PROGRAM_VERSION="v1.2x"
|
NEW_PROGRAM_VERSION="v1.2x"
|
||||||
CONFIG_FILE_VERSION=2017020501
|
CONFIG_FILE_VERSION=2017020801
|
||||||
PROGRAM_BUILD=2016121101
|
PROGRAM_BUILD=2016121101
|
||||||
|
|
||||||
## type -p does not work on platforms other than linux (bash). If if does not work, always assume output is not a zero exitcode
|
## type -p does not work on platforms other than linux (bash). If if does not work, always assume output is not a zero exitcode
|
||||||
|
@ -25,6 +25,7 @@ INITIATOR_SYNC_DIR
|
||||||
TARGET_SYNC_DIR
|
TARGET_SYNC_DIR
|
||||||
SSH_RSA_PRIVATE_KEY
|
SSH_RSA_PRIVATE_KEY
|
||||||
SSH_PASSWORD_FILE
|
SSH_PASSWORD_FILE
|
||||||
|
_REMOTE_TOKEN
|
||||||
CREATE_DIRS
|
CREATE_DIRS
|
||||||
LOGFILE
|
LOGFILE
|
||||||
MINIMUM_SPACE
|
MINIMUM_SPACE
|
||||||
|
@ -95,6 +96,7 @@ sync-test
|
||||||
''
|
''
|
||||||
${HOME}/backupuser/.ssh/id_rsa
|
${HOME}/backupuser/.ssh/id_rsa
|
||||||
''
|
''
|
||||||
|
SomeAlphaNumericToken9
|
||||||
no
|
no
|
||||||
''
|
''
|
||||||
10240
|
10240
|
||||||
|
|
Loading…
Reference in New Issue