    def _proc_stopped(self):
        """Called when the service process unexpectedly exits"""
        self.log.error(
            "Service %s exited with status %i", self.name, self.proc.returncode
        )
        # schedule start
        asyncio.ensure_future(self.start())
Called when the service process unexpectedly exits
jupyterhub/services/service.py