Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

systemctl restart apache

#CentOS 7, Ubuntu 16.04 and Debian 8
  systemctl restart httpd
  #or
  systemctl restart apache

#CentOS 6, Debian 7, Ubuntu 15.10
	service httpd restart
    #or
    service apache restart
 
PREVIOUS NEXT
Tagged: #systemctl #restart #apache
ADD COMMENT
Topic
Name
9+5 =