From bb3705939ee03d06b27099e6f06b92ad1e8c0752 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 19 Jan 2024 18:01:42 -0600 Subject: [PATCH] nut: Fix upsmon reload hook `upsmon.conf` is used by *nut-monitor* (`upsmon`) rather than *nut-server* (`upsd`). --- app/nut/templates.cue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/nut/templates.cue b/app/nut/templates.cue index ee9685e..7091204 100644 --- a/app/nut/templates.cue +++ b/app/nut/templates.cue @@ -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"}] } }, {