Changeset 12147

Show
Ignore:
Timestamp:
09/12/07 09:32:45 (1 year ago)
Author:
piotras
Message:

Added config-set calls

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midgard/data/datagard.in

    r11964 r12147  
    11#! @PHP_BINARY@  
    22<?php 
     3 
     4require_once 'midgard_setup_globals.php'; 
    35 
    46define('PHP_CMD', '@PHP_BINARY@'); 
     
    2830 
    2931/* QUICK INSTALL */ 
     32 
     33/* Set more verbose log type */ 
     34$cmd = PHP_CMD . " midgard_datagard.php -t config -c midgard -a config-set -s loglevel message"; 
     35if(!datagard_exec($cmd)) exit; 
     36 
     37/* Set logfile */ 
     38$cmd = PHP_CMD . " midgard_datagard.php -t config -c midgard -a config-set -s logfilename " . MIDGARD_SETUP_LOG_FILE; 
     39if(!datagard_exec($cmd)) exit; 
     40 
    3041/* Created database, install pear packages and create vhost config */ 
    3142$cmd = PHP_CMD . " midgard_datagard.php"; 
     
    3647if(!datagard_exec($cmd)) exit; 
    3748 
     49/* "Restart" and create virtual host configuration */ 
     50$cmd = PHP_CMD . " midgard_datagard.php -c midgard -a vhost"; 
     51if(!datagard_exec($cmd)) exit; 
     52 
    3853?>