Date: 2024jan14
OS: Linux
Language: bash
Q. podman: start with systemd
A.
To enable the feature:
$ podman-compose systemd -a create-unit
To register a systemd unit:
$ podman-compose systemd -a register
$ systemctl --user enable --now "podman-compose@$PROJECT_NAME"
Updating looks like this:
$ podman-compose pull
$ systemctl --user restart "podman-compose@$PROJECT_NAME"
($PROJECT_NAME is usually the directory name.)
Source post by lolinder on
https://news.ycombinator.com/item?id=38983246
More info:
$ podman-compose -h