def directory(self):
        """str: Directory that the service is run in."""
        if self._directory is None:
            return self.service_group.hitch_dir.hitch_dir
        else:
            return self._directory