Python Service Template A minimal main thread template with thread management, logging, configuration, and signal handling.