minor tweaks.
[sgn.git] / run_cassava_production_server.sh
blob6a7e286bdc923656f7457df0e29c2e6be327860c
1 #!/bin/bash
3 unset PERL5LIB
5 echo "PERL5LIB is now $PERL5LIB";
7 export PERL5LIB=/usr/local/share/sgn/cassava/lib:/usr/local/share/sgn/bio-chado-schema/lib:/usr/local/share/sgn/local-lib:/usr/local/share/sgn/sgn/lib/:/usr/local/share/sgn/cxgn-corelibs/lib/:/usr/local/share/sgn/Phenome/lib/:/usr/local/share/sgn/tomato_genome/lib/:/usr/local/share/sgn/Cview/lib/:/usr/local/share/sgn/biosource/lib/:/usr/local/share/sgn/local-lib/lib/perl5
9 echo "Starting catalyst server...";
11 echo "PERL5LIB is $PERL5LIB";
13 mkdir /tmp/sgn-tmp
15 screen ./bin/sgn_server.pl -r --fork
17 exit;
20 ########
22 =head1 NAME
24 ./run_cassava_production_server.sh
26 =head1 DESCRIPTION
28 Use this script to run the cassavabase production server. It sets the PERL5LIB correctly for the production server environment, and then starts the Catalyst server. It does not restart the nginx server (maybe in the future). It also does not stop a running server.
30 =head1 AUTHOR
32 Lukas Mueller <lam87@cornell.edu>
34 =cut