# This is template file with service description. All lines with # in first
# column are ignored. This file must contain these variables and functions:

# process name; this name is displayed during starting/stopping a 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 arguments
INETDAEMON_ARGS=<args>

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

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

}

# this function can return status of inet service. It 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-inet reload" when RELOAD=function
reload_config()
{
# two template known methods:
# - first by simple restart inet service:

	$0 restart

# - second by generate new config file and send using killproc() signal
# (usualy -HUP):

	gen_config_file
	killproc $INETDAEMON -HUP
}
