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

Re: plog not working in hamm.



On Tue, 2 Jun 1998, Michael Acklin wrote:

[ snip ]

: 
: 	You don't need to reboot to get the deamon to restart. Luckily on this
: list, I found out that you can do a "ps ax" and find out which process
: inetd is. Then do a "kill -1 (PS#)". That's the numeral one.

As usual, there's an even easier way.  Daemons such as inetd keep a PID
file in /var/run - so to get inetd to reread its config, do a 

	kill -HUP `cat /var/run/inetd.pid`

In the case of daemons like Apache, I find it netter to use 

	/etc/init.d/apache reload

(Or restart, or stop; start ... it's up to you!)

Cheers,

--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD  57104
mailto://finn@midco.net   http://www.midco.net
finger finn@kepler.midco.net for PGP Key: (0xA33B86E9)



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: