LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-23-2002, 10:54 AM   #1
fxlee
Member
 
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39

Rep: Reputation: 15
Question What's the difference...?


Hi guys!

Is there a difference between those commands:

- 'service <daemon> restart'
- 'killall -HUP <daemon>'
- './<daemon> restart' <== in the /etc/rc.d/init.d/ directory.

Thanks for any response!
 
Old 02-23-2002, 05:51 PM   #2
Manish
Member
 
Registered: Feb 2002
Distribution: Debian / Debian-based
Posts: 58

Rep: Reputation: 15
I guess killall -HUP basically requests the daemon to hangup and restart itself. So its upto the daemon to take further action -- it may not restart even.

service .... restart usually invokes a script that cleans up things, and stops and restarts the daemon using daemon's other switches,etc.
 
  


Reply



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
is there any difference/use of su - twice? darkleaf Linux - Software 2 10-12-2004 04:54 PM
what's the difference between ... marlor Slackware 4 06-05-2004 02:38 PM
what is the difference shanenin Linux - Software 4 10-24-2003 09:14 AM
What is the difference? drewski *BSD 5 05-21-2003 03:13 PM
What's the Difference New2Linux1978 Linux - Newbie 4 05-14-2003 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:14 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