diff --git a/podman_compose.py b/podman_compose.py index c9b7fd6..e8da480 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -2249,7 +2249,7 @@ Description=%i rootless pod (podman-compose) [Service] Type=simple EnvironmentFile=%h/{stacks_dir}/%i.env -ExecStartPre=-{script} up --no-start +ExecStartPre=-{script} --in-pod=1 up --no-start ExecStartPre=/usr/bin/podman pod start pod_%i ExecStart={script} wait ExecStop=/usr/bin/podman pod stop pod_%i