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 (11 years, 9 months ago) by adi
Branches: MAIN
CVS tags: HEAD
Adjusted to new db_backup port switch.

    1: 
    2: # file to read hostname/db/user/pw from
    3: DBLIST="/etc/db_backup/dbs"
    4: 
    5: # Command to start one process. 
    6: RUN_BIN="/usr/local/sbin/db_backup"
    7: 
    8: # run with this amount of respect to others
    9: NICENESS=19
   10: 
   11: # maximum number of processes to run at once
   12: MAX_PROCESSES=4
   13: 
   14: # Wait that many seconds when the maxium number of running processes are
   15: # reached before retrying to start a new process.
   16: RETRY=2
   17: 
   18: 
   19: 
   20: # ---------- do not edit ----------
   21: 
   22: # arglist file
   23: # Variable argument list. 
   24: # A file containing all the variations of arguments
   25: # that should be run. Each line in this file will provoke one process. The
   26: # arguments on each line in the file will be preceeded with the value of RUN_BIN.
   27: ARGLIST_FILE="db_backup.arglist"
   28: 
   29: 
   30: . /usr/local/lib/parallelstarter/db_backup/generate_arglist

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