From: Andrew Ruthven <andrew@etc.gen.nz>
Date: Sun, 30 Jul 2023 22:12:26 +0000 (+1200)
Subject: Check in the right place, run it from the right place.
X-Git-Tag: 1.2.0~13
X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b03422b1d50ab87403d218171fecf88ff5a8a85e;p=mythtv-status.git

Check in the right place, run it from the right place.
---

diff --git a/debian/cron.daily b/debian/cron.daily
index a0302c8..9b5f8e4 100644
--- a/debian/cron.daily
+++ b/debian/cron.daily
@@ -5,8 +5,8 @@
 
 # Common script shared with the systemd service to perform a health
 # check of the MythTV system..
-[ -x /usr/lib/mythtv-status/health-check ] \
-    && /usr/local/mythtv-status/health-check
+[ -x /usr/libexec/mythtv-status/health-check ] \
+    && /usr/libexec/mythtv-status/health-check
 
 # Keep run-parts happy by always returning with a return code of 0.
 exit 0