LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I need to create a service on Red Hat similar to a Solaris. Please assist. (http://www.linuxquestions.org/questions/linux-newbie-8/i-need-to-create-a-service-on-red-hat-similar-to-a-solaris-please-assist-790628/)

xenner 02-21-2010 04:53 PM

I need to create a service on Red Hat similar to a Solaris. Please assist.
 
Hi,

I'm in the process of migrating client machines from Solaris to Red Hat.

There are a few services I need to transfer across, and I have no idea how to recreate them on Red Hat.

The client used the inetadm command on Solaris to get a specific output;

SCOPE NAME=VALUE
name="example"
endpoint_type="example"
proto="tcp"
isrpc=FALSE
wait=FALSE
exec="/example/eg/ie -avw -i -L"
user="root"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
default tcp_wrappers=TRUE

Can someone please shed some light on how I would create the same service on Red Hat? Obviously without the 'examples'. :)

Thanks for your assistance.

XeN

chrism01 02-21-2010 05:03 PM

The RHEL equiv to inetd is xinetd.
See Sections 15.2, 27.1.35, 42.2.1, 42.5 here http://www.linuxtopia.org/online_boo...ion/index.html. In fact, bookmark that document.


All times are GMT -5. The time now is 05:30 PM.