automation-tests/docs/source/markdown
Valentin Rothberg 220f9a71e4 generate systemd: add `default.target` to INSTALL
When enabling a systemd service we can specify which target will start
it by specifying it in the `[INSTALL]` section.  In case of root, this
is commonly set to `multi-user.target` which is used to start other
essential system services such as the network manager, D-BUS and more.

However, the `multi-user.target` is not enough on all systems,
especially when running rootless and enabling user services.  Multiple
users have reported issues that there isn't even an attempt to start the
service.

Setting the INSTALL target to `default.target` will fix the rootless
case.  However, `default.target` may vary among systems.  Fedora
Workstation, for instance, sets the `default.target` to the graphical
target (i.e., runlevel 5) while Fedora Server sets it to
`multi-user.target` which is on runlevel 2 and hence way earlier in the
startup sequence.

As INSTALL allows for specifying multiple INSTALL targets, we can set it
to `multi-user.target` to continue supporting existing workloads AND to
`default.target` which MAY redundantly attempt to start it at a later point;
effectively a NOP for the root case and essential for rootless.

Fixes: #5423
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-09 13:33:09 +01:00
..
links Add `untag` sub-command 2020-01-08 10:06:10 +01:00
containers-mounts.conf.5.md [docs] Ensure we include section 5 documentation 2019-11-02 13:48:47 +01:00
libpod.conf.5.md libpod.conf: clarify `label` description 2020-02-19 11:04:02 +01:00
podman-attach.1.md Allow users to disable detach keys 2019-11-05 14:10:43 -05:00
podman-build.1.md Fix spelling mistakes in code found by codespell 2020-03-07 10:30:44 -05:00
podman-commit.1.md Allow devs to set labels in container images for default capabilities. 2020-03-02 16:37:32 -05:00
podman-container-checkpoint.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-container-cleanup.1.md Add the rmi flag to podman-run to delete container image 2020-03-03 14:27:11 +02:00
podman-container-exists.1.md docs: remove reference to "sudo" in "podman exists" examples 2020-01-26 12:43:26 -05:00
podman-container-prune.1.md clarify container prune --force 2020-01-13 08:56:43 -06:00
podman-container-restore.1.md podman: add support for specifying MAC 2019-11-06 16:22:19 +01:00
podman-container-runlabel.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-container.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-cp.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-create.1.md Allow users to set TMPDIR environment 2020-03-06 10:21:37 -05:00
podman-diff.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-events.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-exec.1.md Cleanup man pages exit code descriptions 2020-01-26 08:53:52 +01:00
podman-export.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-generate-kube.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-generate-systemd.1.md generate systemd: add `default.target` to INSTALL 2020-03-09 13:33:09 +01:00
podman-generate.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-healthcheck-run.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-healthcheck.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-history.1.md docs: add boolean values and defaults to "man podman-history" options 2020-01-26 14:13:54 -05:00
podman-image-exists.1.md docs: remove reference to "sudo" in "podman exists" examples 2020-01-26 12:43:26 -05:00
podman-image-prune.1.md document updated for filter and until options 2019-11-22 17:42:48 +09:00
podman-image-sign.1.md codespell: spelling corrections 2019-11-13 08:15:00 +11:00
podman-image-tree.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-image-trust.1.md (minor) fix broken links to container-policy.json.5 2020-01-06 08:34:56 -07:00
podman-image.1.md Add `untag` sub-command 2020-01-08 10:06:10 +01:00
podman-images.1.md podman images: add --filter=since=XX 2020-02-20 07:55:29 -07:00
podman-import.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-info.1.md podman info man: example update 2019-12-12 19:55:03 -03:00
podman-init.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-inspect.1.md markdown: reword 'podman-inspect' to properly explain '--size' 2020-01-22 10:02:06 -05:00
podman-kill.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-load.1.md Allow users to set TMPDIR environment 2020-03-06 10:21:37 -05:00
podman-login.1.md fix mandatory parameter in login/logout 2020-02-18 15:30:49 -05:00
podman-logout.1.md fix mandatory parameter in login/logout 2020-02-18 15:30:49 -05:00
podman-logs.1.md Misc typo fixes 2020-02-18 16:00:36 +05:30
podman-mount.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-network-create.1.md macvlan networks 2019-12-09 08:40:40 -06:00
podman-network-inspect.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-network-ls.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-network-rm.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-network.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-play-kube.1.md play kube: make seccomp handling better conform to k8s 2020-01-03 13:27:17 -05:00
podman-play.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-create.1.md Add network options to podman pod create 2020-02-19 11:29:30 -05:00
podman-pod-exists.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-inspect.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-kill.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-pause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-prune.1.md Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
podman-pod-ps.1.md markdown: fix erroneous asterisk markup for options 2020-01-30 06:44:33 -05:00
podman-pod-restart.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-rm.1.md Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
podman-pod-start.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-stats.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-stop.1.md podman {pod,} rm/stop: add --ignore flag 2019-11-25 09:48:13 +01:00
podman-pod-top.1.md docs: update podman-{pod-,}top man pages 2019-12-11 10:50:27 +01:00
podman-pod-unpause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod.1.md Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
podman-port.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-ps.1.md podman-ps: support image IDs 2020-02-17 15:22:21 +01:00
podman-pull.1.md Allow users to set TMPDIR environment 2020-03-06 10:21:37 -05:00
podman-push.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-remote.1.md docs: replace '~' with $HOME in markdown as '~' isn't rendered properly 2020-01-28 12:56:55 -05:00
podman-remote.conf.5.md [docs] Ensure we include section 5 documentation 2019-11-02 13:48:47 +01:00
podman-restart.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-rm.1.md Merge pull request #4974 from rhatdan/man 2020-01-28 03:28:18 -08:00
podman-rmi.1.md Merge pull request #4974 from rhatdan/man 2020-01-28 03:28:18 -08:00
podman-run.1.md Allow users to set TMPDIR environment 2020-03-06 10:21:37 -05:00
podman-save.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-search.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-start.1.md Allow users to disable detach keys 2019-11-05 14:10:43 -05:00
podman-stats.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-stop.1.md docs: add missing hyphen for '-t' option, command '$' prompts 2020-01-28 05:31:52 -05:00
podman-system-df.1.md markdown: fix erroneous asterisk markup for options 2020-01-30 06:44:33 -05:00
podman-system-migrate.1.md markdown: fix formatting/content typos in migrate man page 2020-01-22 06:16:12 -05:00
podman-system-prune.1.md docs: fix system-prune markdown; reword for clarity 2020-01-26 07:46:21 -05:00
podman-system-renumber.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-system-reset.1.md Add podman system reset command 2019-11-29 05:34:52 -05:00
podman-system-service.1.md doc: Fix examples for 'podman system service' 2020-02-10 16:26:27 +01:00
podman-system.1.md Move podman-service to podman-system-service 2020-02-06 13:41:57 -05:00
podman-tag.1.md Update `tag` documentation regarding 'alias' usage 2020-01-17 08:51:36 +01:00
podman-top.1.md docs: update podman-{pod-,}top man pages 2019-12-11 10:50:27 +01:00
podman-umount.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-unpause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-unshare.1.md markdown: fix grammar/formatting, standardize on markdown 2020-01-23 06:59:21 -05:00
podman-untag.1.md Add `untag` sub-command 2020-01-08 10:06:10 +01:00
podman-varlink.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-version.1.md Fix podman-remote version to print client and server 2019-12-02 15:50:00 +01:00
podman-volume-create.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-volume-inspect.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-volume-ls.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-volume-prune.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-volume-rm.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-volume.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-wait.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman.1.md Move podman-service to podman-system-service 2020-02-06 13:41:57 -05:00