Fixup which service is restarted when pictures change
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
KemoNine 2020-08-28 21:21:04 -04:00
parent 5212949fb0
commit 16f7ddcd58

View file

@ -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)
}