diff options
| author | Derrick Stolee <derrickstolee@github.com> | 2023-08-10 20:39:44 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-08-10 14:04:16 -0700 |
| commit | f44d7d00e5f71ca5f232bca3793dfafd98329e0d (patch) | |
| tree | e05c5ad493798a2f35f3717eeb129a2fda300849 /builtin/check-ref-format.c | |
| parent | 9b433990573f02d2078d5a2ee4c227cedd6254bd (diff) | |
maintenance: swap method locations
The systemd_timer_write_unit_templates() method writes a single template
that is then used to start the hourly, daily, and weekly schedules with
systemd.
However, in order to schedule systemd maintenance on a given minute,
these templates need to be replaced with specific schedules for each of
these jobs.
Before modifying the schedules, move the writing method above the
systemd_timer_enable_unit() method, so we can write a specific schedule
for each unit.
The diff is computed smaller by showing systemd_timer_enable_unit() and
systemd_timer_delete_units() move instead of
systemd_timer_write_unit_templates() and
systemd_timer_delete_unit_templates().
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/check-ref-format.c')
0 files changed, 0 insertions, 0 deletions
