summaryrefslogtreecommitdiff
path: root/units/user
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-21 15:12:18 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-21 15:14:51 +0200
commit49dbfa7b2b0bf3906704dac1eaeb4eba91056a19 (patch)
treeb7bf6ad5bef741f68b45a431807f58a81a5c845a /units/user
parenta223b325b409b325f4c2c2e11268596edd842631 (diff)
units: introduce new Documentation= field and make use of it everywhere
This should help making the boot process a bit easier to explore and understand for the administrator. The simple idea is that "systemctl status" now shows a link to documentation alongside the other status and decriptionary information of a service. This patch adds the necessary fields to all our shipped units if we have proper documentation for them.
Diffstat (limited to 'units/user')
-rw-r--r--units/user/default.target3
-rw-r--r--units/user/exit.service.in3
-rw-r--r--units/user/exit.target3
3 files changed, 3 insertions, 6 deletions
diff --git a/units/user/default.target b/units/user/default.target
index 4f9379ea5e..56cf4dcb9c 100644
--- a/units/user/default.target
+++ b/units/user/default.target
@@ -5,7 +5,6 @@
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
-# See systemd.special(7) for details
-
[Unit]
Description=Default
+Documentation=man:systemd.special(7)
diff --git a/units/user/exit.service.in b/units/user/exit.service.in
index c785fbd64a..a114f6c1be 100644
--- a/units/user/exit.service.in
+++ b/units/user/exit.service.in
@@ -5,10 +5,9 @@
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
-# See systemd.special(7) for details
-
[Unit]
Description=Exit the Session
+Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target
diff --git a/units/user/exit.target b/units/user/exit.target
index ffc8fad019..539e03a9aa 100644
--- a/units/user/exit.target
+++ b/units/user/exit.target
@@ -5,10 +5,9 @@
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
-# See systemd.special(7) for details
-
[Unit]
Description=Exit the Session
+Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=exit.service
After=exit.service