Re: A question about starting daemons .......

From: Jan Gerrit Kootstra (jan.gerrit_at_kootstra.org.uk)
Date: 10/29/03


Date: Wed, 29 Oct 2003 07:15:27 +0100


"championsleeper" <strepxe@yahoo.co.uk> schreef in bericht
news:103a78f3.0310281537.d7bbceb@posting.google.com...
> In HP-UX (from what I can see) it is possible to start daemons as
> startup either:
> (a) by creating a file in /sbin/init.d and linking it to one of the
> rc.x directories as a Sxxx file or,
> (b) creating an entry for the daemon in /etc/inetd.conf
>
> I'm aware there are a number of options you can use to configure the
> operation of the daemon in /etc/inetd.conf. It does not appear that
> these options are availalbe/needed/appropriate for daemons started
> using /sbin/init.d ??? Can someone provide me with guidance or point
> me towards a good source of reference ?
>
> One of those questions I should have asked a long time ago !

Champonsleeper,

There is a big difference between the two approaches.

a) Is for standalone daemons or programs that have to run ones when changing
runlevels.
b) Is for daemons that have to be activated by "net users" for there use of
your server.

Like the telnet daemon, it sleeps until a net user wants to connect by
telnet. The inetd daemon starts a telnet daemon to make the connection for
this net user.

Important differences between option a) and b).

Option a) will start one daemon at runlevel activation

Option b) will start a daemon for each net user request as long as inetd is
active. So you can multiple instances of the same daemon.

Regards,

Jan Gerrit Kootstra



Relevant Pages

  • Re: A question about starting daemons .......
    ... > Like the telnet daemon, it sleeps until a net user wants to connect by ... The inetd daemon starts a telnet daemon to make the connection for ...
    (comp.sys.hp.hpux)
  • Re: filtering access via hosts.allow
    ... >> You can start apache from your inetd daemon, ... >> ServerType inetd ... > since apache has built in access control that easily allows this. ... But then one has to restart the daemon after any editing. ...
    (comp.os.linux.networking)
  • Re: FTP server setup
    ... Rather often FTP daemon is started by inetd daemon. ... the inetd daemon may refuse to start additional ... FTP server processes, ...
    (comp.os.linux.networking)