diff --git a/tasks/configure_maintenance.yml b/tasks/configure_maintenance.yml index 90a0036c34511cb0ce3ecb1b4b7a98b6156d228d..bb4ac1787323de7fd1fa44e94511595b100eb7a6 100644 --- a/tasks/configure_maintenance.yml +++ b/tasks/configure_maintenance.yml @@ -26,6 +26,7 @@ - "subapp_maintenance_begin.service" - "subapp_maintenance_begin.timer" - "subapp_maintenance_end.timer" + notify: daemon-reload - name: enable SubApp/DisApp maintenance services and timers ansible.builtin.systemd: diff --git a/templates/usr/local/lib/systemd/system/disapp_maintenance_end.timer.j2 b/templates/usr/local/lib/systemd/system/disapp_maintenance_end.timer.j2 index d5286d0b18f80559cef70ea7b8ea4e9c41c3ab8d..494a718ad42c26634b7695f70c40085296f38882 100644 --- a/templates/usr/local/lib/systemd/system/disapp_maintenance_end.timer.j2 +++ b/templates/usr/local/lib/systemd/system/disapp_maintenance_end.timer.j2 @@ -4,7 +4,7 @@ Description=timer for disapp_maintenance.service [Timer] # run on the 1st Tuesday of each month # You can validate your calendar expressions using `systemd-analyze calendar EXPR`. -OnCalendar=Tue *-*-01..07 12:00:00 +OnCalendar=Tue *-*-01..07 15:10:00 Unit=disapp.service [Install] diff --git a/templates/usr/local/lib/systemd/system/subapp_maintenance_end.timer.j2 b/templates/usr/local/lib/systemd/system/subapp_maintenance_end.timer.j2 index cc952a664737733df0414769d0e51fb1eda53366..082ace9903a7eabba128768cee574e84515b9b6b 100644 --- a/templates/usr/local/lib/systemd/system/subapp_maintenance_end.timer.j2 +++ b/templates/usr/local/lib/systemd/system/subapp_maintenance_end.timer.j2 @@ -4,7 +4,7 @@ Description=timer for subapp.service [Timer] # run on the 1st Tuesday of each month # You can validate your calendar expressions using `systemd-analyze calendar EXPR`. -OnCalendar=Tue *-*-01..07 12:00:00 +OnCalendar=Tue *-*-01..07 15:10:00 Unit=subapp.service [Install]