automation-tests/docs/source
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
..
_static [CI:DOCS]Connect API docs and RTD 2020-01-17 15:12:35 -06:00
markdown generate systemd: add `default.target` to INSTALL 2020-03-09 13:33:09 +01:00
Commands.rst Enable pre-commit tool linting 2020-01-14 13:42:59 +00:00
Introduction.rst Restructure documentation dir 2019-10-31 12:31:39 -05:00
Reference.rst [CI:DOCS] Add logo and dev statement 2020-01-20 13:59:55 -06:00
Tutorials.rst Restructure documentation dir 2019-10-31 12:31:39 -05:00
conf.py Restructure documentation dir 2019-10-31 12:31:39 -05:00
generate.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
healthcheck.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
image.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
index.rst Restructure documentation dir 2019-10-31 12:31:39 -05:00
managecontainers.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
network.rst docs: fix incomplete heading underlining in network.rst 2020-01-28 06:44:07 -05:00
play.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
pod.rst Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
system.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
volume.rst Enable pre-commit tool linting 2020-01-14 13:42:59 +00:00