# This is template file with service description. All lines with # in first
# column are ignoered. This file must cotain variables nad functions:

# proces name; this name is displayed during starting/stopping service
PROCESS_NAME=<name>

# inet server pid file name 
PID_FILE=<pid_file_name>

# inet server config file name; this file is generated before each starting
# inet service
CONFIG_FILE=<config>

# inet server daemon executable file name
INETDAEMON=<exec_file_mname>

# additional inet server daemon argumments
INETDAEMON_ARGS=<args>

# Config file preamble, something like "This file is autogenerated!"
PREAMBLE=<text>

# this function must generate to std output one config entry using all
# variables specifeied in service definition file (/etc/sysconfig/rc-inet/*)
parse_one_service()
{

}

# this function can return status inet serwice. Tis is used during calling
# "/etc/rc.d/init.d/rc-inet status"
status_rc-inetd()
{

}

# this function must force inetdaemon to reload it's configuration. This is 
# used during calling "/etc/rc.d/init.d/rc-imet reload" when RELOAD=function
reload_config()
{
# two template known methods:
# - first by sple restart inet service:

	$0 restart

# - second by generate ne config file and send with usink killproc() signal
# (usualy -HUP):

	gen_config_file
	killproc $INETDAEMON -HUP
}
