Once a system administrator grasps creating custom services, this last piece will complete the puzzle. This learning activity will allow the student to gain an understanding of systemd timer units through the creation of one that is associated with a custom service. Once completed, the student will have an understanding of custom services, how they are created, and how to schedule and use them.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a Service Timer Unit File
Follow the scenario to create the appropriate timer unit file.
- Putting Files Where They Belong
Copy the service and timer files and the shell script into the correct locations.
- Run the Custom Service
Once the backup service has been created successfully from the scenario, make sure it is running so the backup will happen as scheduled.