Fixes systemd unit file

Set in-pod=1 if we're assuming it in other lines

Signed-off-by: Daniel Key <daniel@pointyshinyburning.org>
This commit is contained in:
Pointy 2023-09-13 14:09:24 +01:00 committed by Daniel Key
parent bce40c2db3
commit 2ea9fbaa99

View File

@ -2039,7 +2039,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