[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] How do I actually Restart ProFTPd service?
- Subject: Re: [cobalt-users] How do I actually Restart ProFTPd service?
- From: Jeff Lovell <jlovell@xxxxxxxxxx>
- Date: Fri Oct 20 11:09:08 2000
- Organization: Cobalt Networks, Inc.
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Fabrice Prémel" wrote:
>
> Wouldn't kill -HUP `cat /var/run/inetd.pid` be more correct ?
In this case, yes. In all cases no.
> pidof is just a link to killall5(8), which is not the safest way to
> kill a process. Suppose some user has a running process with the name
> of inetd (unprobable, but possible), you will send the signal to that
> process too. Even if it is a SIGHUP, it's still a signal sent by
> root.
killall5 doesn't kill the processes if you feed it only a process
name, it will return the pids of those processes.
Jeff
--
Jeff Lovell
Cobalt Networks, Inc.