source: trunk/daemon/make_dbase.sh @ 148

Last change on this file since 148 was 83, checked in by bastiaans, 19 years ago

daemon/make_dbase.sh:

  • Shell script for creating dbase

daemon/job_dbase.sql:

  • Typo in syntax
  • Property svn:executable set to *
File size: 325 bytes
Line 
1#!/bin/bash
2#
3# This shellscript will setup toga'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#
16TOGADBNAME='toga'
17
18# dbfile for toga
19#
20TOGADBCMD='./job_dbase.sql'
21
22$CREATEDB $TOGADBNAME
23$PSQL -f $TOGADBCMD $TOGADBNAME
Note: See TracBrowser for help on using the repository browser.