LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-06-2008, 03:57 PM   #1
hypercondor
LQ Newbie
 
Registered: May 2008
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Restarting the inetd daemon


Hi i was wondering if there was a way to restart the inetd daemon in one command. I am guessing it has something to do with combining the "kill -HUP" and the "pidof" command, i just cant work it out. Thanks
 
Old 05-06-2008, 04:03 PM   #2
viron
Member
 
Registered: Dec 2005
Location: McKinney, Texas
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
killall -HUP inetd

or

pidof inetd

kill -HUP <pid>
 
Old 05-06-2008, 04:04 PM   #3
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,107

Rep: Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720
Or "/etc/init.d/xinetd restart". Perhaps /etc/init.d/inetd restart, depending on your installation.
 
Old 05-06-2008, 04:09 PM   #4
hypercondor
LQ Newbie
 
Registered: May 2008
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
thanks very much guys, I used "kill -HUP `pidof inetd`" and that worked. Thanks for the fast replys
 
  


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
Failed to start FTP server - server daemon when in inetd mode. pujakofriendly Slackware 2 11-30-2006 02:58 AM
How do I determine which servers in Slack 11 are monitored by inetd / inetd.conf Old_Fogie Slackware 2 11-25-2006 02:06 PM
Custom inetd daemon Arron Linux - Networking 0 03-30-2004 11:21 AM
How to run a tftpd server as a daemon without using any of these (inetd or xinetd ) sansk Linux - Networking 1 03-21-2004 07:01 AM
Daemon (inetd.conf) mikeshn Linux - General 2 08-23-2002 12:51 PM


All times are GMT -5. The time now is 05:26 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration