Fixup which service is restarted when pictures change
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
KemoNine 2020-08-28 21:21:04 -04:00
parent 5212949fb0
commit 16f7ddcd58
1 changed files with 2 additions and 2 deletions

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