Hold APPS restarts the Bible app on the Sanctuary TV PC
SSH to media@10.6.7.13 (Windows OpenSSH, cmd.exe): kill a hung Bible App, then run the StatusPanel\Start BibleApp task, which starts it on the logged-in desktop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -485,6 +485,13 @@ class TestFixes(unittest.TestCase):
|
||||
self.snap.remote["translation\0pgrep -xq 'Church Translate'"] = False
|
||||
self.assertEqual(self.plan("apps"), [("fix", "ableton"), ("fix", "translate")])
|
||||
|
||||
def test_bible_app_is_restarted_on_the_windows_pc(self):
|
||||
self.snap.http["http://10.6.7.13:8080/"] = False
|
||||
self.assertEqual(self.plan("apps"), [("fix", "bibleapp")])
|
||||
fix = CONFIG["fixes"]["bibleapp"]
|
||||
self.assertEqual(CONFIG["hosts"][fix["host"]]["ssh"], "media@10.6.7.13")
|
||||
self.assertIn('schtasks /Run /TN "\\StatusPanel\\Start BibleApp"', fix["run"]) # cmd.exe, not sh
|
||||
|
||||
def test_unreachable_mac_is_not_a_verdict(self):
|
||||
self.snap.remote["tracks\0pgrep -xq Live"] = None
|
||||
self.assertEqual(self.plan("apps"), [])
|
||||
|
||||
Reference in New Issue
Block a user