=====Systemctl===== This a major change in RHEL 7 and so far so good. It provides a lot more information. Here is a very good [[https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units | link]] to more infromation and options available in systemctl ====Starting and Stopping Services==== Pretty basic stuff To get a service started systemctl start service-name To stop a service systemctl stop service-name These does not return anything. So you need to check that the service is running. THere are 2 ways to do this: 1 systemctl status service name This will show you a green entry Active: active (running) if the service is running 2 systemctl is-active service-name This just retuns active or not To ensure that the service restart on reboot of the server you need to ensure that the service is enabled systemctl enable service name This does not return anything. So to check that the service is enabled you again also have 2 options 1 systemctl status service Look on second line **Loaded** at the end of it it will mention enabled 2 systemctl is-enabled service name This just returns enabled if its enabled. ====Finding out what Services are running==== THis is a bit messier as there is so much information shown. Easies way to do this is with systemctl list-units This is nice and basic if you want moreinformation..ie is it running then use systemctl list-units --all