Managing services and targets
Managing services tends to be something that we need to do at times. For example, when we install a new piece of software that comes bundled as a service, we need to be able to manage it so that it can work properly. This is what we're going to work on as we go through this recipe. We're also going to give a short description of how systemctl
configuration files work, but without going on a 100 mile-long journey, as it's the recipe that's the focus. However, we will make sure that we provide you with additional links where you can learn a whole lot more about systemd
as it's a big topic and an important one.
Getting ready
We're going to use our cli2
CentOS for this recipe, just so that it doesn't feel left out.
How to do it…
The basic idea behind managing services in practical terms is to have services start either at the point in time when we want them to be started, or to have them available after...