Re: How to send a signal to a process ?



How do I send a SIGHUP to ProFTPd who's PID is in
'/var/run/run/proftpd.pid'?

$ kill -HUP $(cat /var/run/run/proftpd.pid)

will do the trick.

I was using a RedHat function from /etc/rc.d/init.d/functions called
killproc().

Yours is much neater.

Nice, thanks alot.

Aaron


.