Service httpd stop command
Service httpd stop command
Hi, I'm trying to stop httpd service with service httpd stop command but I say like this:
Now what should I do??
And I'm using centos7
Code: Select all
[root@server ~]# service httpd stop
Redirecting to /bin/systemctl stop httpd.service
And I'm using centos7
-
- Posts: 139
- Joined: Thu Jan 07, 2016 12:01 am
Re: Service httpd stop command
That's actually correct. You can use service httpd stop and CentOS 7 will redirect to the right command. So, it's still working as you need it to.mrex778 wrote:Hi, I'm trying to stop httpd service with service httpd stop command but I say like this:Now what should I do??Code: Select all
[root@server ~]# service httpd stop Redirecting to /bin/systemctl stop httpd.service
And I'm using centos7
service httpd stop <-CentOS 6 and older way of stopping things
systemctl stop httpd <-CentOS 7 and newer way of stopping things
However:
service httpd stop in CentOS 7 still works