From 16f7ddcd5824ffd4b0552e1415f3effc6fb1ee76 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Fri, 28 Aug 2020 21:21:04 -0400 Subject: [PATCH] Fixup which service is restarted when pictures change --- cmd/inotify/inotify.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/inotify/inotify.go b/cmd/inotify/inotify.go index 686cad6..3401c35 100644 --- a/cmd/inotify/inotify.go +++ b/cmd/inotify/inotify.go @@ -17,9 +17,9 @@ const ( ) func main() { - // Create watchdog timer that restarts fim.service on timeout + // Create watchdog timer that restarts pf-ui.service on timeout watchdog := watchdog.New(TIMEOUT, func() { - err := exec.Command(CMD_SYSTEMCTL, "restart", "fim.service").Run() + err := exec.Command(CMD_SYSTEMCTL, "restart", "pf-ui.service").Run() if err != nil { log.Fatalf("Error running %s : %s", CMD_SYSTEMCTL, err) }