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

From: championsleeper (strepxe_at_yahoo.co.uk)
Date: 10/29/03


Date: 29 Oct 2003 03:32:17 -0800


"Jan Gerrit Kootstra" <jan.gerrit@kootstra.org.uk> wrote in message news:<3f9f5b03$0$79342$5fc3050@dreader2.news.tiscali.nl>...
> "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

Thankyou very much for the response. It is much clearer to me know and
explains why our application documents the startup of its consituent
components in different ways.

Cheers!



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)