If I would need to solve this question, I'd used pipe files or unix files. Simply create one from main instance and reply some `{"status": "running"}` json to it and try reading this pipe in app start