2023-12-13 19:02:07 +01:00
|
|
|
[Unit]
|
2023-12-14 00:15:01 +01:00
|
|
|
Description={{item}} systemctl maintenance services
|
2023-12-13 19:02:07 +01:00
|
|
|
OnFailure=systemd-notifier@%n.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2023-12-14 20:27:48 +01:00
|
|
|
ExecPreStart=/bin/sh -c '/usr/bin/python {{ path_system_maintenance_service_freezer_script }} {{item}} "{{ system_maintenance_services + [item] | join(' ') }}" --ignore "{{item}}" --timeout "{{system_maintenance_timeout_defroster}}"'
|
2023-12-14 19:06:57 +01:00
|
|
|
ExecStart=/bin/sh -c '/usr/bin/python {{ path_system_maintenance_service_freezer_script }} {{item}} "{{ system_maintenance_services }}"'
|