LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2004, 02:29 AM   #1
rajesh_b
Member
 
Registered: Sep 2004
Location: Hyderabad.
Posts: 83

Rep: Reputation: 15
How inetd gets sighup?


Hai,

I know that inetd gets sighup signal when its configuration file is changed. i dont know how it gets that signal when the configuration file is changed. can any body have ideas,

thanks in advance
rajesh.
 
Old 09-17-2004, 05:38 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2399Reputation: 2399Reputation: 2399Reputation: 2399Reputation: 2399Reputation: 2399Reputation: 2399Reputation: 2399Reputation: 2399Reputation: 2399Reputation: 2399
Re: How inetd gets sighup?

Hi there,

Quote:
I know that inetd gets sighup signal when its configuration file is changed. i dont know how it gets that signal when the configuration file is changed. can any body have ideas,
This statement is not true.

If you (manually) change the configuration file that goes with inetd (/etc/inetd.conf) you also need to manually restart the inetd process. This can be done by either restarting it from your init.d directory (./inetd restart) or giving the process a SIGHUP (kill -SIGHUP <pid of inetd>).

If your distro uses a (graphic) tool to change/restart inetd.conf/inetd it will probably be a script that does the same steps as described above.

Hope this clears things up a bit.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending SIGHUP to inetd glansing Linux - Newbie 3 09-16-2005 03:13 AM
chrooting or jailing inetd or inetd started daemons ? MasterC Linux - Security 2 07-15-2003 06:28 PM
Inetd...What should with it X11 Slackware 3 07-16-2002 03:56 AM
inetd -- where can i get it? jasonhbishop Linux - Software 3 06-06-2002 08:35 AM
What is inetd doing? dguy Linux - Networking 7 01-25-2002 01:03 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration