FIXES #534: add systemd unit label

This commit is contained in:
Muayyad alsadi 2022-07-29 21:13:44 +03:00
parent 3c460160e0
commit 2d05c5c339

View File

@ -1529,7 +1529,7 @@ class PodmanCompose:
"io.podman.compose.config-hash=" + self.yaml_hash,
"io.podman.compose.project=" + project_name,
"io.podman.compose.version=" + __version__,
f"PODMAN_SYSTEMD_UNIT=podman-compose@{project_name}",
f"PODMAN_SYSTEMD_UNIT=podman-compose@{project_name}.service",
"com.docker.compose.project=" + project_name,
"com.docker.compose.project.working_dir=" + dirname,
"com.docker.compose.project.config_files=" + ",".join(relative_files),