mirror of https://github.com/containers/podman.git
Merge pull request #19969 from eriksjolund/rewrite-restart-md
[CI:DOCS] restart.md: migrate to container unit
This commit is contained in:
commit
957523e62a
|
|
@ -17,4 +17,6 @@ Valid _policy_ values are:
|
|||
|
||||
Podman provides a systemd unit file, podman-restart.service, which restarts containers after a system reboot.
|
||||
|
||||
If container runs as a system service, generate a systemd unit file to manage it. See **podman generate systemd**.
|
||||
When running containers in systemd services, use the restart functionality provided by systemd.
|
||||
In other words, do not use this option in a container unit, instead set the `Restart=` systemd directive in the `[Service]` section.
|
||||
See **podman-systemd.unit**(5) and **systemd.service**(5).
|
||||
|
|
|
|||
Loading…
Reference in New Issue