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 ; .
Example: LOG_HANDLEROUTPUT=False
Default: LOG_HANDLEROUTPUT=False
Example: SCREEN_HANDLEROUTPUT=False
Default: SCREEN_HANDLEROUTPUT=False
Example: LOG=/var/opt/ACME/log
Default: LOG=var/log
Example: CHECK_INTERVAL=600,120
Default: CHECK_INTERVAL=600,120
Example: WATCHDOG_NAME=EDRCINIT
Default: WATCHDOG_NAME=EDRCINIT
Example: EDRC_USER=edrc
Default: EDRC_USER=edrc
The format of the service handling specification is:
sequence ; activated ; guarded ; name ; description ; handler ; handleroptions ;
where the fields have the following content:
# # 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
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.