on Digital Ocean and saw this command "systemctl restart httpd" and it peaked my interest.
It seems in CENTOS 7 you there is a little change in the commands to restart services and how services are configured to start automatically or not on reboots.
So if you have a service called mybuzz instead of
- "service mybuzz restart" it is now "systemctl restart mybuzz"
- "service mybuzz restart|start|stop|status|reload|condestar|status" it is now "systemctl restart|start|stop|status|reload|condestar|status mybuzz" respectively
- "chkconfig mybuzz on" it is now "systemctl enable frobozz"
- "chkconfig mybuzz off" it is now "systemctl disable frobozz"
- "chkconfig mybuzz " it is now "systemctl is-enabled frobozz" (check if service is configured to start or not)