Follow the guide below to install the script
- Specify the keyword1, keyword2 and all needed keywords values in the script file ./src/service_status_logger.sh
- Make the script file ./src/service_status_logger.sh executable
- Edit the service_status_logger.service file, and update the absolute path to the service_status_logger.sh file in the service directive section
- Copy the service_status_logger.service to the directory /etc/systemd/system/
- Execute the command systemctl enable service_status_logger
- Execute the command systemctl daemon-reload
- Execute the command systemctl start service_status_logger