5.17. Network Services (inetd)

The inetd is started at boot time by the entry in /etc/rc.conf:

inetd_enable="YES"

You need to restart inetd after making a change to /etc/inetd.conf. This can be done by rebooting the system or running this command:

# kill -HUP `cat /var/run/inetd.pid`

or to use the numeric format:

# kill -1 `cat /var/run/inetd.pid`

and another way:

# killall -1 inetd

or:

# killall -HUP inetd

On 5.x machines:

# /etc/rc.d/$servicename restart

where $servicename is the service you wish to restart.

The port numbers for each service can be found in /etc/services.