Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to re-read inetd.conf

Status
Not open for further replies.

squash

MIS
May 21, 2001
99
0
0
US
I sometimes must make temporary changes to the
/etc/inetd.conf

Then I need the system to re-read this file with my new changes, usually just pounding out a command.

Now what is a good way to do this.

1. ps-ef |grep inetd
kill -9 pid
2. ps -ef |grep inetd
kill -1 pid

I have some confusion around this and cannot find the right man page or other documentation for confirmation.

As alway we thank you for you support

Doug.
 
kill -HUP inted.d (will stop and restart )

 
For info:
The manual page for inetd does contain a paragraph
about this, just before the OPTIONS section where it
says :
"inetd rereads its configuration file once when it is
started and again whenever it receives a hangup signal..."

The hangup signal is achieved by the kill -HUP <inetd pid>

Regards
John John Philcox
Mobile Ventures Limited UK
 
AHH Excellent

I did see that paragragh and somehow thought kill -1 is the hang up signal.

Thankx for the info.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top