edrcinit.cfg

Package: WA2L/edrc 1.5.57
Section: Configuration Files (4)
Updated: 18 November 2020
Index Return to Main Contents

 

NAME

edrcinit.cfg - configuration file for edrcinit

 

SYNOPSIS

edrc/etc/edrcinit.cfg

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

This is the configuration file for the edrcinit command.

 

FILEFORMAT

Rows starting with a # are considered as comments.

The fileformat for the 'GENERAL OPTIONS' is OPTION=VALUE

Between the OPTION, the = and the VALUE are no spaces.

You should not comment out any OPTION If you like to use default settings simply do not specify a VALUE.

For the 'SERVICE HANDLING OPTIONS', the fileformat is field ; field ; field ; field ; field ; field ; field ; .

 

OPTIONS

 

GENERAL OPTIONS

LOG_HANDLEROUTPUT
Set to True to log the output of the startup handlers to the logfile.

Example: LOG_HANDLEROUTPUT=False

Default: LOG_HANDLEROUTPUT=False

SCREEN_HANDLEROUTPUT
Set to True to print the output of the startup handlers to the screen.

Example: SCREEN_HANDLEROUTPUT=False

Default: SCREEN_HANDLEROUTPUT=False

LOG
Log output dir of edrcinit. If you specify a relative path name the path is relative to the root of the EDRC installation.

Example: LOG=/var/opt/ACME/log

Default: LOG=var/log

CHECK_INTERVAL
Interval of edrcinit checks in seconds.

Example: CHECK_INTERVAL=600,120

Default: CHECK_INTERVAL=600,120

WATCHDOG_NAME
Name of the watchdog that guards the services. This setting has to be changed only if there is a clash with another watchdog using the same name on the system.

Example: WATCHDOG_NAME=EDRCINIT

Default: WATCHDOG_NAME=EDRCINIT

EDRC_USER
User in which HOME WA2L/edrc is installed.

Example: EDRC_USER=edrc

Default: EDRC_USER=edrc

 

SERVICE HANDLING OPTIONS

The format of the service handling specification is:

sequence ; activated ; guarded ; name ; description ; handler ; handleroptions ;

where the fields have the following content:

sequence
startup sequence number.

activated
startup activated (Y=activated, N=not activated).

guarded
service monitored and guarded (Y=YES, N=NO).

name
name of the service (should be unique).

description
short service description.

handler
service handler

handleroptions
optional service handler options.

 

EXAMPLE

#
# etc/edrcinit.cfg - configuration file for edrcinit
#
# [00] 26.05.2009 CWa   Initial Version
#

##
## SERVICES HANDLING OPTIONS 
##


# Definition of services to be started/stopped.
#
# Format:
#
#  <sequence>;<activated>;<guarded>;<name>;<description>;<handler>;<handleroptions>;
#
# Fields:
#
#  <sequence>        = startup sequence 
#  <activated>       = startup activated (Y=activated, N=not activated)
#  <guarded>         = service monitored and guarded (Y=YES, N=NO activated)
#  <name>            = name of the service (should be unique)  
#  <description>     = short service description
#  <handler>         = service handler 
#  <handleroptions>  = optional service handler options
#
100;Y;N;logcheckd      ;log check and report daemon     ;WA2Ledrc.logcheckd;;
110;N;Y;passwdsyncd    ;password synchronization daemon ;WA2Ledrc.passwdsyncd;;
120;N;Y;thttpd_doc     ;HTTP server (WA2L/edrc:doc)     ;WA2Ledrc.thttpd;doc;
121;Y;Y;nginx_doc      ;HTTP server (WA2L/edrc:doc)     ;WA2Ledrc.nginx;etc/nginx.doc.cfg;
130;N;Y;thttpd_base    ;HTTP server (WA2L/edrc:base)    ;WA2Ledrc.thttpd;base;
140;Y;Y;thttpd_foswiki ;HTTP server (WA2L/edrc:foswiki) ;WA2Ledrc.foswiki;current;
150;Y;Y;thttpd_report  ;HTTP server (WA2L/edrc:report)  ;WA2Ledrc.thttpd;report;
190;Y;Y;shellinaboxd   ;command line shell thru web     ;WA2Ledrc.shellinaboxd;;

##
## GENERAL OPTIONS
##

#
# Fileformat:
#
#  OPTION=<VALUE>
#


# Set to True to log the output of the startup handlers to the logfile.
#
LOG_HANDLEROUTPUT=False


# Set to True to print the output of the startup handlers to the screen.
#
SCREEN_HANDLEROUTPUT=False


# Log output dir of edrcinit. If you specify a relative path name the
# path is relative to the root of the EDRC installation.
#
LOG=var/log


# Interval of edrcinit checks in seconds.
#
CHECK_INTERVAL=600,120


# Name of the watchdog that guards the services. This setting has to
# be changed only if there is a clash with another watchdog using the
# same name on the system.
#
WATCHDOG_NAME=EDRCINIT


# User in which HOME WA2L/edrc is installed.
# 
EDRC_USER=edrc

 

SEE ALSO

edrcintro(1), edrcinit(1m), edrcinit.handler(3), watchdog(1)

 

NOTES

-

 

BUGS

-

 

AUTHOR

edrcinit.cfg was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2014 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
FILEFORMAT
OPTIONS
GENERAL OPTIONS
SERVICE HANDLING OPTIONS
EXAMPLE
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 00:14:01 GMT, March 08, 2025