Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] hello from a new / old member



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Mar 09, 2006 at 03:42:04PM +0100, Godwin Stewart wrote:
> On Thu, 09 Mar 2006 23:03:09 +0900, Evan Monroig <evan.monroig@example.com>
> wrote:
> 
> Most of the time, a (SIG)HUP will force a daemon to reread its
> configuration. This is the case of, for example, named, sendmail, inetd,
> xbindkeys and probably a load more I can't think of right now.
> 
> To get chapter and verse on it you need to consult the man page for the
> process to which you're going to send the signal - although having said
> that, I don't see any mention of it in man sshd....


Well, I'm shocked--the man page doesn't give the answer?  

The fact that you can restart most processes with a SIGHUP is one of
those things that you just pick up along the way.  (It might be
different for the real gurus, but I mean the average person.)  Godwin
and I once had a correspondence about this very thing, when I made an
effort to find reference to it in some man pages--I think the OpenBSD
man page for signals might have had it, but they were the only one.

(Which is typical, they tend to have the best docs--they are the only
ones, for example, who bother to give an example of how to use
ifconfig--when I was a newcomer, I thought the man page, especially the
Linux ones, which tend to be the worst, was very little help.)

I usually try killall -SIGHUP sshd or whatever.  Anyway, don't worry if
you don't find it in a man page, though it wouldn't suprise me if it's
in OpenBSD's.  (I haven't checked, and I'm at work right now, but I'd
say there's a reasonable chance.)



- -- 

Scott

GPG KeyID EB3467D6
( 1B848 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6)
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Gunn: Fair Cordelia. You still savin' my life?
Cordelia: Every minute.
Gunn: How's that workin' out?
Cordelia: You're alive aren't you?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (FreeBSD)

iD8DBQFEEEuh+lTVdes0Z9YRAkbqAJ42JDhaSKFpfNgoZ7mY+P2BcsqjigCgiwzP
tiGwH6XGqEXX0I8BruJ7azw=
=RFjI
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links