[Bio] / FigKernelScripts / start_dbserver.pl Repository:
ViewVC logotype

View of /FigKernelScripts/start_dbserver.pl

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.3 - (download) (as text) (annotate)
Wed Feb 25 21:53:31 2015 UTC (4 years, 8 months ago) by golsen
Branch: MAIN
Changes since 1.2: +2 -3 lines
Added the $dont_fork parameter to the start_server call, based upon the
value of $FIG_Config:db_dont_fork. Configuring it this way makes
start_dbserver more compatable with the expectations of launchd under
OS X when the parameter is set.

# Copyright (c) 2003-20015 University of Chicago and Fellowship
# for Interpretations of Genomes. All Rights Reserved.
# This file is part of the SEED Toolkit.
# The SEED Toolkit is free software. You can redistribute
# it and/or modify it under the terms of the SEED Toolkit
# Public License. 
# You should have received a copy of the SEED Toolkit Public License
# along with this program; if not write to the University of Chicago
# at info@ci.uchicago.edu or the Fellowship for Interpretation of
# Genomes at veronika@thefig.info or download a copy from
# http://www.theseed.org/LICENSE.TXT.

# Script to start the database server.

use FIG_Config;
use DBrtns;

my $admin = DBrtns::get_server_admin();

$admin->start_server( "$FIG_Config::db_dont_fork" || 0 );

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3