X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/0a2693126165f68131a1d1686a2bee1f1967494d..0d332cb66939747237ce374275f5719acc2354f5:/bin/weather-watchdog?ds=sidebyside

diff --git a/bin/weather-watchdog b/bin/weather-watchdog
index 4847477..48c4bff 100644
--- a/bin/weather-watchdog
+++ b/bin/weather-watchdog
@@ -4,7 +4,8 @@ stamp=`date +%s -r $(uci get weathermon.process.dump_file)`
 now=`date +%s`
 delta=$(( $now - $stamp ))
 if [[ $delta -ge 300 ]]; then
+  logger weathermon restarting...
   /etc/init.d/weathermon restart
 fi
 
-pgrep weather-display > /dev/null || /etc/init.d/weather-display restart
+pgrep weather-lcd > /dev/null || /etc/init.d/lcd-weather restart