Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Service httpd stop command

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
mrex778
Posts: 3
Joined: Thu Jan 14, 2016 12:39 pm

Service httpd stop command
  • Quote

Post by mrex778 » Sat Jan 16, 2016 4:09 pm

Hi, I'm trying to stop httpd service with service httpd stop command but I say like this:

Code: Select all

[root@server ~]# service httpd stop
Redirecting to /bin/systemctl stop  httpd.service
Now what should I do??
And I'm using centos7
Top

BBuchanan1013
Posts: 139
Joined: Thu Jan 07, 2016 12:01 am

Re: Service httpd stop command
  • Quote

Post by BBuchanan1013 » Sun Jan 17, 2016 12:06 am

mrex778 wrote:Hi, I'm trying to stop httpd service with service httpd stop command but I say like this:

Code: Select all

[root@server ~]# service httpd stop
Redirecting to /bin/systemctl stop  httpd.service
Now what should I do??
And I'm using centos7
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.

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
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password