Skip to content

Commit

Permalink
Added _REMOTE_TOKEN entry
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan committed Feb 8, 2017
1 parent c7f676b commit 72da188
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion sync.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

###### osync - Rsync based two way sync engine with fault tolerance
###### (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

Expand All @@ -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.
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_DIRS=no

Expand Down
4 changes: 3 additions & 1 deletion upgrade-v1.0x-v1.2x.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ AUTHOR="(C) 2016-2017 by Orsiris de Jong"
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
OLD_PROGRAM_VERSION="v1.0x-v1.1x"
NEW_PROGRAM_VERSION="v1.2x"
CONFIG_FILE_VERSION=2017020501
CONFIG_FILE_VERSION=2017020801
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
Expand All @@ -25,6 +25,7 @@ INITIATOR_SYNC_DIR
TARGET_SYNC_DIR
SSH_RSA_PRIVATE_KEY
SSH_PASSWORD_FILE
_REMOTE_TOKEN
CREATE_DIRS
LOGFILE
MINIMUM_SPACE
Expand Down Expand Up @@ -95,6 +96,7 @@ sync-test
''
${HOME}/backupuser/.ssh/id_rsa
''
SomeAlphaNumericToken9
no
''
10240
Expand Down

0 comments on commit 72da188

Please sign in to comment.