Re: starting/stopping services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Nov 1, 2013 at 1:56 PM, Reindl Harald <h.reindl@xxxxxxxxxxxxx>wrote:

>
>
> Am 01.11.2013 20:49, schrieb Wes James:
> >
>

<snip>


> >
> > Thanks.  But why do some commands require service service-name command
> > (like sshd) where postfix works without the service command in front of
> it?
>
> you still do not realize the difference between start/stop/restart
> and enable/disable a service, they *all* behave identically
>
> some are enabled by default after install, some are not
> __________________________________
>
> service *whatever* start
> service *whatever* restart
> service *whatever* stop
>
> chkconfig *whatever* on
> chkconfig *whatever* off
> __________________________________
>
> start/stop/restart acts *now*
> on/off acts at boot
>
> please read some basic documentations!
>
> http://www.linuxmail.info/how-to-start-stop-services-centos-6/
>
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-services-chkconfig.html
>
>
I do understand that.

But why can you do

postfix stop/start

but not

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

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




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux