FreeBSD How to restart inetd service / daemonNovember 15, 2010 by: upa_kid
inetd is referred to as the Internet Super-Server because it manages connections for several services. When a connection is received by inetd, it determines which program the connection is destined for, spawns the particular process and delegates the socket to it. First login as a root user.
FreeBSD version 5.0/6.0 or later
Newer version of FreeBSD has special start, stop, restart script, you can use this script restart inetd:
Old method (works on all variant of UNIX/Linux/BSD oses)
Once you made changes to inetd (internet super-server)configuration file (/etc/inetd.conf) you can use kill or killall command as follows to restart inetd:
# killall -HUP inetd
# kill -HUP inetd
# kill -HUP `cat /var/run/inetd.pid`
This causes the inetd program to restart and examine its configuration files. This is especially useful if you have changed the configuration settings.
* BSD start services article it explains rc.conf and other concepts related to bsd services.Have you found this script useful? Please support author by PayPal donation.
- FreeBSD: HowTo Start / Stop / Restart Network and Routing Service
- How to export display from Linux to FreeBSD
- BSD start services
- Setting Up A PXE Install Server For Multiple Linux Distributions With Ubuntu Edgy Eft
- Kill a Frozen or Crashed UNIX / Linux X Desktop
- Get Information about All Running Services Remotely
- MySQL root Password Change and Reset for GNU/Linux
- Synchronize the system clock to Network Time Protocol (NTP) under Fedora or Red Hat Linux
- Force Grub to Reboots into the specified OS
- Linux Cutting the tcp/ip network connection with cutter command