Quick fix for osync-batch.sh
This commit is contained in:
parent
0ea1a3e5de
commit
00342e610b
|
@ -31,6 +31,7 @@ UNDER WORK
|
||||||
RECENT CHANGES
|
RECENT CHANGES
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
- Fixed osync-batch.sh script when osync is in executable path like /usr/local/bin
|
||||||
- Fixed multiple keep logging messages since sleep time between commands has been lowered under a second
|
- Fixed multiple keep logging messages since sleep time between commands has been lowered under a second
|
||||||
- Added optional checksum parameter for the paranoid :)
|
- Added optional checksum parameter for the paranoid :)
|
||||||
- Fixed typo in soft deletion code preventing logging slave deleted backup files
|
- Fixed typo in soft deletion code preventing logging slave deleted backup files
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
PROGRAM="Osync-batch" # Batch program to run osync instances sequentially and rerun failed ones
|
PROGRAM="Osync-batch" # Batch program to run osync instances sequentially and rerun failed ones
|
||||||
AUTHOR="(L) 2013-2014 by Orsiris \"Ozy\" de Jong"
|
AUTHOR="(L) 2013-2014 by Orsiris \"Ozy\" de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_BUILD=0104201502
|
PROGRAM_BUILD=2404201501
|
||||||
|
|
||||||
## Runs an osync instance for every conf file found
|
## Runs an osync instance for every conf file found
|
||||||
## If an instance fails, run it again if time permits
|
## If an instance fails, run it again if time permits
|
||||||
|
@ -22,6 +22,8 @@ MAX_RERUNS=3
|
||||||
if ! type -p osync.sh > /dev/null 2>&1
|
if ! type -p osync.sh > /dev/null 2>&1
|
||||||
then
|
then
|
||||||
OSYNC_EXECUTABLE=./osync.sh
|
OSYNC_EXECUTABLE=./osync.sh
|
||||||
|
else
|
||||||
|
OSYNC_EXECUTABLE=$(type -p osync.sh)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Log file path
|
## Log file path
|
||||||
|
|
Loading…
Reference in New Issue