[Bio] / askkb / service / start_service.tt Repository:
ViewVC logotype

View of /askkb/service/start_service.tt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (annotate)
Wed May 1 00:42:53 2013 UTC (6 years, 6 months ago) by brettin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
 changed use of kb_service_name to kb_service_dir when in dir context

#!/bin/sh
export KB_TOP=[% kb_top %]
export KB_RUNTIME=[% kb_runtime %]
export PATH=$KB_TOP/bin:$KB_RUNTIME/bin:$PATH
export PERL5LIB=$KB_TOP/lib
export KB_SERVICE_DIR=$KB_TOP/services/[% kb_service_dir %]

pid_file=$KB_SERVICE_DIR/service.pid

exec $KB_RUNTIME/bin/perl $KB_RUNTIME/bin/starman --listen :[% kb_service_port %] --pid $pid_file $KB_TOP/lib/[% kb_psgi %]

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3