On Fri, Nov 1, 2013 at 2:49 PM, Wes James <compte...@gmail.com> wrote:
>
> Thanks.  But why do some commands require service service-name command
> (like sshd) where postfix works without the service command in front of it?
>

'service command option' is essentially the same as:
/etc/rc.d/init.d/command option
so it runs the standard startup/shutdown script.

'command option'
is going to run the first instance of 'command' it finds in your
execution search $PATH, and then it is up to that command to interpret
the option.  In other words there is no way to generalize about this
case.

-- 
   Les Mikesell
     lesmikes...@gmail.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to