Re: Telnet server and FTP server setup


Subject: Re: Telnet server and FTP server setup
From: Michael O'Keefe (mokeefe@qualcomm.com)
Date: Wed Dec 05 2001 - 18:45:54 MST


Duane Murphy wrote:
>
> --- At Mon, 3 Dec 2001 18:32:58 -0500, Tim Moloney wrote:
>
> >First, edit /etc/xinetd.d/telnet and /etc/xinetd.d/proftpd to
> >change "disable = yes" to "disable = no". Then, as root execute
> >"killall xinetd -USR2".
>
> Why do people use kill instead of the init.d scripts?
>
> Use:
>
> /etc/rc.d/init.d/xinetd
>
> This will get you usage. Its usually restart or reload that you want.
>
> Of course, run this is as root.

Coz if you look at the script, the kill is exactly what it does.

Me personally...I do

kill -<SIGNAL> `cat /var/run/<service>.pid`

but killall is just as good, though a little too wildcardly for my taste

-- 
Michael O'Keefe                      |          mokeefe@qualcomm.com_   
Live on and Ride a '96 Honda CBR1000F|          roxus@home.com     / |  
I like less more or less less than   |Work:+1 858 845 3514        /  |  
more. UNIX-live it,love it,fork() it |Fax :+1 858 651 1999       /_p_|  
My views are MINE ALONE, blah, blah, |Home:+1 858 748 5432       \`O'|  
blah, yackety yack - don't come back |Fax :+1 858                _/_\|_,



This archive was generated by hypermail 2a24 : Wed Dec 05 2001 - 18:59:23 MST