nut: Fix upsmon reload hook
`upsmon.conf` is used by *nut-monitor* (`upsmon`) rather than *nut-server* (`upsd`).master
parent
36fd137897
commit
bb3705939e
|
@ -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"}]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue