[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.1 - (download) (annotate)
Wed Apr 24 16:11:59 2013 UTC (6 years, 7 months ago) by olson
Branch: MAIN
Add KBase module skeleton

#!/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_name %]

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