Chapter 5
Managing Services
Section 2
Creating and Modifying Services
In this video we will learn to both modify an existing service (unit file), as well as creating our very own service from the ground up, including the actual service. - Start this video be taking a look at how everything fits together regarding unit files, in which directories they are placed, what happens when you enable or disable a service and so on. - Modify the httpd service (unit file). First we modify the original unit file, and then we learn how to create an override file for the unit. - Create our very own service! First we create a shell script which will act as the service. Then we create the unit file for the service, so that it can be enabled/disabled and started and stopped. Just like a real service!