systemd unit file

This commit is contained in:
Muayyad alsadi 2022-03-13 11:20:59 +03:00
parent cadf046306
commit bf8004b04d

View File

@ -1736,7 +1736,7 @@ Description=%i rootless pod (podman-compose)
[Service]
Type=simple
EnvironmentFile=%h/{stacks_dir}/%i.env
ExecStartPre-={script} up --no-start
ExecStartPre=-{script} up --no-start
ExecStartPre=/usr/bin/podman pod start pod_%i
ExecStart={script} wait
ExecStop=/usr/bin/podman pod stop pod_%i