File:  [Local Repository] / badi / public_scripts / parallelstarter / db_backup / parallelstarter.setup
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Thu Sep 6 20:24:05 2012 UTC (12 years, 2 months ago) by adi
Branches: MAIN
CVS tags: HEAD
Adjusted to new db_backup port switch.


# file to read hostname/db/user/pw from
DBLIST="/etc/db_backup/dbs"

# Command to start one process. 
RUN_BIN="/usr/local/sbin/db_backup"

# run with this amount of respect to others
NICENESS=19

# maximum number of processes to run at once
MAX_PROCESSES=4

# Wait that many seconds when the maxium number of running processes are
# reached before retrying to start a new process.
RETRY=2



# ---------- do not edit ----------

# arglist file
# Variable argument list. 
# A file containing all the variations of arguments
# that should be run. Each line in this file will provoke one process. The
# arguments on each line in the file will be preceeded with the value of RUN_BIN.
ARGLIST_FILE="db_backup.arglist"


. /usr/local/lib/parallelstarter/db_backup/generate_arglist

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>