nut: Fix upsmon reload hook
`upsmon.conf` is used by *nut-monitor* (`upsmon`) rather than *nut-server* (`upsd`).
This commit is contained in:
@@ -63,7 +63,7 @@ monitor: templates: [
|
||||
group: "nut"
|
||||
mode: "u=rw,g=r,o="
|
||||
hooks: {
|
||||
changed: [{run: "systemctl try-reload-or-restart nut-server"}]
|
||||
changed: [{run: "systemctl try-reload-or-restart nut-monitor"}]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user