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

View of /askkb/service/process.tt

Parent Directory Parent Directory | Revision Log Revision Log


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

check process [% kb_service_name %] with pidfile [% kb_top %]/services/[% kb_service_dir %]/service.pid
  start program = "[% kb_top %]/services/[% kb_service_dir %]/start_service" with timeout 60 seconds
  stop  program = "[% kb_top %]/services/[% kb_service_dir %]/stop_service"
  if failed port [% kb_service_port %] type tcp 
     with timeout 15 seconds
     then restart
  if 3 restarts within 5 cycles then timeout
  group [% kb_service_name %]_group

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3