summaryrefslogtreecommitdiff
path: root/docs/source/markdown
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-19 20:29:01 -0500
committerGitHub <noreply@github.com>2022-01-19 20:29:01 -0500
commit7fc8bf4a428c08fcb9c9e97d238628319a20986e (patch)
treeddcd1faacca37f72bafc6f3bc77c55f3829eb387 /docs/source/markdown
parent6b59b10248b0bd92127dfc455ca40579d4c396a0 (diff)
parentb9a2d8698a22c4b267e252caad56d8b31fcadd38 (diff)
downloadpodman-7fc8bf4a428c08fcb9c9e97d238628319a20986e.tar.gz
podman-7fc8bf4a428c08fcb9c9e97d238628319a20986e.tar.bz2
podman-7fc8bf4a428c08fcb9c9e97d238628319a20986e.zip
Merge pull request #12887 from esendjer/main
Add custom defined dependencies to podman generate systemd
Diffstat (limited to 'docs/source/markdown')
-rw-r--r--docs/source/markdown/podman-generate-systemd.1.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-generate-systemd.1.md b/docs/source/markdown/podman-generate-systemd.1.md
index 363d042ae..d051092f8 100644
--- a/docs/source/markdown/podman-generate-systemd.1.md
+++ b/docs/source/markdown/podman-generate-systemd.1.md
@@ -68,6 +68,22 @@ Set the systemd unit name prefix for pods. The default is *pod*.
Set the systemd unit name separator between the name/id of a container/pod and the prefix. The default is *-*.
+#### **--wants**=*dependency_name*
+
+Add the systemd unit wants (`Wants=`) option, that this service is (weak) dependent on. This option may be specified more than once. This option does not influence the order in which services are started or stopped.
+
+User-defined dependencies will be appended to the generated unit file, but any existing options such as needed or defined by default (e.g. `online.target`) will **not** be removed or overridden.
+
+#### **--after**=*dependency_name*
+
+Add the systemd unit after (`After=`) option, that ordering dependencies between the list of dependencies and this service. This option may be specified more than once.
+
+User-defined dependencies will be appended to the generated unit file, but any existing options such as needed or defined by default (e.g. `online.target`) will **not** be removed or overridden.
+
+#### **--requires**=*dependency_name*
+
+Set the systemd unit requires (`Requires=`) option. Similar to wants, but declares a stronger requirement dependency.
+
#### **--template**
Add template specifiers to run multiple services from the systemd unit file.