#!/usr/bin/python #simple program to check if mythbackend is up and running #exit code of 0 is success, anything else means it can't connect import sys from MythTV import MythBE,MythDB try: be = MythBE() db = MythDB() except: sys.exit(1) sys.exit(0)