From 1655cdee044eaebc49c5a1087b080acbbab369d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 20 Jan 2018 10:33:50 +1100 Subject: man: fix example formatting in systemd.preset Repeating "example" everywhere was not useful, so remove that and improve the formatting a bit. --- man/systemd.preset.xml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'man/systemd.preset.xml') diff --git a/man/systemd.preset.xml b/man/systemd.preset.xml index 482856221c..7b978f7915 100644 --- a/man/systemd.preset.xml +++ b/man/systemd.preset.xml @@ -136,23 +136,26 @@ - Example + Examples - Default off example <filename>/usr/lib/systemd/system-preset/99-default.preset</filename>: + Default to off - disable * + # /usr/lib/systemd/system-preset/99-default.preset + +disable * This disables all units. Due to the filename prefix 99-, it will be read last and hence can easily - be overridden by spin or administrator preset policy or - suchlike. + be overridden by spin or administrator preset policy. - A GNOME spin example <filename>/usr/lib/systemd/system-preset/50-gnome.preset</filename>: + A GNOME spin - enable gdm.service + # /usr/lib/systemd/system-preset/50-gnome.preset + +enable gdm.service enable colord.service enable accounts-daemon.service enable avahi-daemon.* @@ -168,9 +171,11 @@ enable avahi-daemon.* example like the one from the first example above. - Administrator policy <filename>/etc/systemd/system-preset/00-lennart.preset</filename>: + Administrator policy + + # /etc/systemd/system-preset/00-lennart.preset - enable httpd.service +enable httpd.service enable sshd.service enable postfix.service disable * @@ -179,8 +184,8 @@ disable * This enables three specific services and disables all others. This is useful for administrators to specifically select the units to enable, and disable all others. Due to the filename - prefix 00- it will be read early and hence - overrides all other preset policy files. + prefix 00- it will be read early and + override all other preset policy files. -- cgit v1.2.1