mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-07 14:37:43 +00:00
the podman generated systemd service file has `Type=forking` service, so the command after `ExecStart=` should not run in front. if someone created a container and has the detach(`-d`) param missing like this ``` podman create --name ngxdemo -P nginxdemos/hello ``` and generate the file with `--new` param: ``` podman generate systemd --name --new ngxdemo ``` because `podman run xxx` has no `-d` param, so the container is not run in background and nerver exit. and systemd will fail to start the service: ``` sudo systemctl start container-ngxdemo.service Job for container-ngxdemo.service failed because a timeout was exceeded. See "systemctl status container-ngxdemo.service" and "journalctl -xe" for details. ``` Signed-off-by: 荒野無燈 <ttys3@outlook.com> |
||
|---|---|---|
| .. | ||
| _static | ||
| markdown | ||
| Commands.rst | ||
| conf.py | ||
| generate.rst | ||
| healthcheck.rst | ||
| image.rst | ||
| index.rst | ||
| Introduction.rst | ||
| managecontainers.rst | ||
| network.rst | ||
| play.rst | ||
| pod.rst | ||
| Reference.rst | ||
| system.rst | ||
| Tutorials.rst | ||
| volume.rst | ||