nut: Fix upsmon reload hook

`upsmon.conf` is used by *nut-monitor* (`upsmon`) rather than
*nut-server* (`upsd`).
master
Dustin 2024-01-19 18:01:42 -06:00
parent 36fd137897
commit bb3705939e
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ monitor: templates: [
group: "nut" group: "nut"
mode: "u=rw,g=r,o=" mode: "u=rw,g=r,o="
hooks: { hooks: {
changed: [{run: "systemctl try-reload-or-restart nut-server"}] changed: [{run: "systemctl try-reload-or-restart nut-monitor"}]
} }
}, },
{ {