On Thu, Mar 14, 2002 at 02:50:46PM -0800, Michael Maibaum wrote: > On Thu, Mar 14, 2002 at 02:45:27PM -0800, bob ackerman wrote: > > yes. i uncommented the daytime tcp line, did a 'kill -HUP 239' and the > > script worked. > > i didn't find 'killall' on my system. and 'kill -HUP inetd' didn't work. i > > killall is a linux abomination, the other option on non linux ssystems > is > > sudo kill -HUP `cat /var/run/inetd.pid` > > not backticks, not single quotes. erm note backticks
doh, and while on the subject, I should say GNU abomination..it isn't the kernels fault > > HTH > > Michael > > had to use the pid of inetd. > > Thanks. i learning am. > > > > On Thursday, March 14, 2002, at 01:46 PM, Tim Rayner wrote: > > > > >Incidentally, to get a service such as 'daytime' to run, you can edit the > > >/etc/inetd.conf file to remove the leading remark # characters from the > > >lines referring to the service of interest. There are two lines in the > > >case of daytime; I don't know whether both are actually required. > > >Probably not, > > > on reflection. Anyway, you should then issue the command 'killall -HUP > > >inetd' to restart the inetd server daemon, and you should be set. > > > > > >Both these activities require root/admin privileges, of course. > > > > > >Tim > > > > > -- > Dr Michael A. Maibaum - (W)+1 (415) 561 1682 - (H)+1 (415) 626 6733 > <[EMAIL PROTECTED]> <URL:http://www.gene-hacker.net/> -- Dr Michael A. Maibaum - (W)+1 (415) 561 1682 - (H)+1 (415) 626 6733 <[EMAIL PROTECTED]> <URL:http://www.gene-hacker.net/>
