source: trunk/jobarchived/make_dbase.sh @ 214

Last change on this file since 214 was 211, checked in by bastiaans, 18 years ago

jobarchived/make_dbase.sh:

  • updated

deleted: all old rrd_* test scripts

  • Property svn:executable set to *
File size: 330 bytes
Line 
1#!/bin/bash
2#
3# This shellscript will setup jobarchived's SQL database
4#
5
6# Path of postgres's "createdb"
7#
8CREATEDB='/usr/bin/createdb'
9
10# Path of postgres's "psql"
11#
12PSQL='/usr/bin/psql'
13
14# dbname for toga
15#
16JOBDBNAME='jobarch'
17
18# dbfile for toga
19#
20JOBDBCMD='./job_dbase.sql'
21
22$CREATEDB $JOBDBNAME
23$PSQL -f $JOBDBCMD $JOBDBNAME
Note: See TracBrowser for help on using the repository browser.