Implemented role System Maintenance Service Freezer

This commit is contained in:
2023-12-13 19:02:07 +01:00
parent 1aa0aabee2
commit f03fbd7c07
8 changed files with 138 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
[Unit]
Description={{item}} systemctl maintanance services
OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c '/usr/bin/python {{ freezer_script }} {{item}} {{ system_maintenance_services | join(",") }}'