diff --git a/sync.conf b/sync.conf index e2162eb..12b2e7e 100644 --- a/sync.conf +++ b/sync.conf @@ -2,12 +2,12 @@ ###### Osync - Rsync based two way sync engine with fault tolerance ###### (L) 2013-2015 by Orsiris "Ozy" de Jong (www.netpower.fr) -###### Config file rev 2015111801 +###### Config file rev 2015091201 ## ---------- GENERAL OPTIONS ## Sync job identification -INSTANCE_ID="sync_test" +SYNC_ID="sync_test" ## Directories to synchronize. ## Initiator is the system osync runs on. The initiator directory must be a local path. @@ -47,6 +47,8 @@ MINIMUM_SPACE=10240 ## Bandwidth limit Kbytes / second. Leave 0 to disable limitation BANDWIDTH=0 +## If enabled, synchronization on remote system will be processed as superuser. See documentation for /etc/sudoers file configuration. +SUDO_EXEC=no ## Paranoia option. Don't change this unless you read the documentation. RSYNC_EXECUTABLE=rsync ## Remote rsync executable path. Leave this empty in most cases @@ -65,9 +67,6 @@ REMOTE_HOST_PING=no ## Be aware some DNS like opendns redirect false hostnames. Also, this adds an extra execution time of a bit less than a minute. REMOTE_3RD_PARTY_HOSTS="www.kernel.org www.google.com" -## If enabled, synchronization commands on remote system will be processed as superuser. See documentation for /etc/sudoers file configuration. -SUDO_EXEC=no - ## ---------- MISC OPTIONS ## Preserve ACLS. Make sure source and target FS can manage same ACLs or you'll get loads of errors. @@ -138,7 +137,7 @@ SMTP_PASSWORD= ## ---------- EXECUTION HOOKS -## Commands can will be run before and / or after sync process (remote execution will only happen if REMOTE_OPERATION is set). +## Commands can will be run before and / or after sync process (remote execution will only happen if REMOTE_SYNC is set). LOCAL_RUN_BEFORE_CMD="" LOCAL_RUN_AFTER_CMD=""