[CentOS] starting/stopping services
Les Mikesell
lesmikesell at gmail.comFri Nov 1 20:01:41 UTC 2013
- Previous message: [CentOS] starting/stopping services
- Next message: [CentOS] starting/stopping services
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 case. -- Les Mikesell lesmikesell at gmail.com
- Previous message: [CentOS] starting/stopping services
- Next message: [CentOS] starting/stopping services
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list