File:  [Local Repository] / badi / public_scripts / parallelstarter / db_backup / parallelstarter.setup
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Jul 18 11:49:04 2011 UTC (12 years, 11 months ago) by adi
Branches: MAIN
CVS tags: HEAD
Initial revision

    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: # The standard PostgreSQL TCP/IP Port
   19: PGPORT=5432
   20: 
   21: 
   22: 
   23: # ---------- do not edit ----------
   24: 
   25: # arglist file
   26: # Variable argument list. 
   27: # A file containing all the variations of arguments
   28: # that should be run. Each line in this file will provoke one process. The
   29: # arguments on each line in the file will be preceeded with the value of RUN_BIN.
   30: ARGLIST_FILE="db_backup.arglist"
   31: 
   32: 
   33: . /usr/local/lib/parallelstarter/db_backup/generate_arglist

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