diff --git a/sync.conf b/sync.conf index bb5b744..3c39514 100755 --- a/sync.conf +++ b/sync.conf @@ -2,7 +2,7 @@ ###### Osync - Rsync based two way sync engine with fault tolerance ###### (L) 2013 by Orsiris "Ozy" de Jong (www.netpower.fr) -#### Config file rev 2408201302 +#### Config file rev 1109201302 ## Sync job identification, any string you want, no spaces SYNC_ID="sync_test" @@ -95,3 +95,6 @@ REMOTE_RUN_AFTER_CMD="" MAX_EXEC_TIME_PER_CMD_BEFORE=0 ## Maximum execution time (in seconds) for commands after sync task. Commands get killed if not finished after MAX_EXEC_TIME. Set this to 0 to disable killing command. MAX_EXEC_TIME_PER_CMD_AFTER=0 + +## Stops osync execution if one of the above commands fail +STOP_ON_CMD_ERROR=yes