mirror of
https://github.com/containers/podman-compose.git
synced 2025-02-16 18:31:34 +01:00
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:
parent
bce40c2db3
commit
2ea9fbaa99
@ -2039,7 +2039,7 @@ Description=%i rootless pod (podman-compose)
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
EnvironmentFile=%h/{stacks_dir}/%i.env
|
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
|
ExecStartPre=/usr/bin/podman pod start pod_%i
|
||||||
ExecStart={script} wait
|
ExecStart={script} wait
|
||||||
ExecStop=/usr/bin/podman pod stop pod_%i
|
ExecStop=/usr/bin/podman pod stop pod_%i
|
||||||
|
Loading…
Reference in New Issue
Block a user