[CentOS] starting/stopping services

Fri Nov 1 20:01:41 UTC 2013
Les Mikesell <lesmikesell at gmail.com>

On Fri, Nov 1, 2013 at 2:49 PM, Wes James <comptekki at 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

   Les Mikesell
     lesmikesell at gmail.com