diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-05-02 22:33:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-02 22:33:09 +0200 |
commit | b5e5585ada50a887f439e513c5deae30c89648de (patch) | |
tree | 795c9e94db4d51012f40ccd0287504d39a4de83b /docs/podman-run.1.md | |
parent | 6bcbb88715fd9cab45eb668bba5ba83228e16883 (diff) | |
parent | c18ad2bfd9034fe6b80e3f33c076af731be6778b (diff) | |
download | podman-b5e5585ada50a887f439e513c5deae30c89648de.tar.gz podman-b5e5585ada50a887f439e513c5deae30c89648de.tar.bz2 podman-b5e5585ada50a887f439e513c5deae30c89648de.zip |
Merge pull request #2985 from baude/generatesystemd
Generate Systemd
Diffstat (limited to 'docs/podman-run.1.md')
-rw-r--r-- | docs/podman-run.1.md | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/docs/podman-run.1.md b/docs/podman-run.1.md index 5190e5d14..9efb7f51c 100644 --- a/docs/podman-run.1.md +++ b/docs/podman-run.1.md @@ -593,7 +593,7 @@ Not implemented. Restart should be handled via a systemd unit files. Please add your podman commands to a unit file and allow systemd or your init system to handle the -restarting of the container processes. See example below. +restarting of the container processes. See *podman generate systemd*. **--rm**=*true*|*false* @@ -1151,21 +1151,6 @@ the uids and gids from the host. $ podman run --uidmap 0:30000:7000 --gidmap 0:30000:7000 fedora echo hello ``` -### Running a podman container to restart inside of a systemd unit file - - -``` -[Unit] -Description=My App -[Service] -Restart=always -ExecStart=/usr/bin/podman start -a my_app -ExecStop=/usr/bin/podman stop -t 10 my_app -KillMode=process -[Install] -WantedBy=multi-user.target -``` - ### Configuring Storage Options from the command line Podman allows for the configuration of storage by changing the values |