[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.2.2 How to Start Gnatsd

Gnatsd is intended to be started by some "super server", like inetd or xinetd. ("Super servers" are sometimes also called "super daemons".)

This is also described in the GNATS manual; see (gnats)Installing the daemon section ‘Installing the daemon’ in Keeping Track.

How to configure inetd to start gnatsd

If your gnatsd will be started by inetd (the "internet daemon"), add the following entry to your ‘/etc/inetd.conf’:

 
# port                    userid program
support stream tcp nowait gnats /usr/local/libexec/gnats/gnatsd gnatsd

and to ‘/etc/services’:

 
support		1529/tcp		# GNATS

(You may need to use tabulator characters to separate the fields of ‘/etc/services’.) Then send inetd a hangup signal (kill -HUP pid-of-inetd).

You may want to use another port instead of 1529 (see section Gnatsd Port Number).

How to configure xinetd to start gnatsd

If your gnatsd will be started by xinetd (the "extended internet daemon"), create a file ‘/etc/xinetd.d/support’ with the following lines (see (gnats)Installing the daemon section ‘Installing the daemon’ in Keeping Track):

 
service support
{
        disable     = no
        socket_type = stream
        protocol    = tcp
        wait        = no
        user        = gnats
        server      = /usr/local/libexec/gnats/gnatsd
        server_args = gnatsd
}

or add theses lines to your ‘xinetd.conf’ file, whatever is appropriate. The equal signs seem to need spaces around them with some versions of xinetd.

You need to add

 
support		1529/tcp		# GNATS

to ‘/etc/services’ (it may be necessary to use tabulator characters to separate the fields), and to tell xinetd to reread its configuration (kill -HUP pid-of-xinetd).


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Chad Walstrom on March 3, 2015 using texi2html 1.82.