18 lines
621 B
YAML
18 lines
621 B
YAML
|
|
---
|
||
|
|
# Ungated, and that is the whole point. Across this estate the restart handlers
|
||
|
|
# were written with `when: uptime_kuma_enabled | default(false)`, which made
|
||
|
|
# them inert: Fulcrum's config changes landed on disk and silently never took
|
||
|
|
# effect for months. Three tasks notify this handler - the config, the systemd
|
||
|
|
# unit and the binary itself - and all three need it to actually fire.
|
||
|
|
- name: Restart monerod
|
||
|
|
systemd:
|
||
|
|
name: monerod
|
||
|
|
state: restarted
|
||
|
|
daemon_reload: yes
|
||
|
|
|
||
|
|
- name: Restart monerod health check timer
|
||
|
|
systemd:
|
||
|
|
name: monerod-healthcheck.timer
|
||
|
|
state: restarted
|
||
|
|
daemon_reload: yes
|