apache service restart on centos 7 linux code example
Example: centos stop apache
systemctl restart httpd.service
systemctl start httpd.service
systemctl stop httpd.service
systemctl restart httpd.service
systemctl start httpd.service
systemctl stop httpd.service