On 2013-11-01, Wes James <compte...@gmail.com> wrote:
>
> But why can you do
>
> postfix stop/start
>
> but not
>
> sshd stop/start.

It is just the way Postfix and OpenSSH were written.  The Postfix
developers wanted one top-level executable to start their daemons
(partly because there are more than one for Postfix).  The OpenSSH
developers did not (perhaps partly because there is only one real sshd
process?).

> With sshd you need to use service sshd stop/start.  It
> seems inconsistent.

It is.  As another poster commented, welcome to linux!  Sometimes, if
you read through the init script in /etc/init.d/, you can see how the
actual service is called.  That won't help with the inconsistency, but
it might help in not having to remember which commands support the
"start" argument and which do not.

--keith

-- 
kkel...@wombat.san-francisco.ca.us


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to