From af3bccd6d87759f0b146bf5980bdd56144d70c7e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 1 Jun 2012 00:14:07 +0200 Subject: [PATCH] man: write man page for systemd-logind --- Makefile.am | 3 + man/loginctl.xml | 3 +- man/logind.conf.xml | 3 +- man/pam_systemd.xml | 15 +++-- man/systemd-logind.service.xml | 98 +++++++++++++++++++++++++++++++++ units/systemd-logind.service.in | 2 +- 6 files changed, 115 insertions(+), 9 deletions(-) create mode 100644 man/systemd-logind.service.xml diff --git a/Makefile.am b/Makefile.am index 15f7a348..2e29a0f4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2915,6 +2915,7 @@ nodist_udevrules_DATA += \ src/login/73-seat-late.rules MANPAGES += \ + man/systemd-logind.service.8 \ man/logind.conf.5 \ man/sd-login.7 \ man/loginctl.1 \ @@ -2926,6 +2927,7 @@ MANPAGES += \ man/sd_get_seats.3 MANPAGES_ALIAS += \ + man/systemd-logind.8 \ man/sd_login_monitor_unref.3 \ man/sd_login_monitor_flush.3 \ man/sd_login_monitor_get_fd.3 \ @@ -2945,6 +2947,7 @@ MANPAGES_ALIAS += \ man/sd_get_sessions.3 \ man/sd_get_uids.3 +man/systemd-logind.8: man/systemd-logind.service.8 man/sd_login_monitor_unref.3: man/sd_login_monitor_new.3 man/sd_login_monitor_flush.3: man/sd_login_monitor_new.3 man/sd_login_monitor_get_fd.3: man/sd_login_monitor_new.3 diff --git a/man/loginctl.xml b/man/loginctl.xml index 8e34a298..33a369e0 100644 --- a/man/loginctl.xml +++ b/man/loginctl.xml @@ -59,7 +59,7 @@ loginctl may be used to introspect and control the state of the systemd1 - login manager. + login manager systemd-logind.service8. @@ -458,6 +458,7 @@ systemd1, systemctl1, + systemd-logind.service8, logind.conf5 diff --git a/man/logind.conf.xml b/man/logind.conf.xml index 35a7d485..0d0c9b0e 100644 --- a/man/logind.conf.xml +++ b/man/logind.conf.xml @@ -54,7 +54,7 @@ Description - This files configures various parameters of the systemd login manager. + This files configures various parameters of the systemd login manager systemd-logind.service8. @@ -234,6 +234,7 @@ See Also systemd1, + systemd-logind.service8, loginctl1, systemd.conf5 diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml index d681276c..f2c1ab8c 100644 --- a/man/pam_systemd.xml +++ b/man/pam_systemd.xml @@ -44,7 +44,7 @@ pam_systemd - Register user sessions in the systemd control group hierarchy + Register user sessions in the systemd login manager @@ -57,8 +57,9 @@ Description pam_systemd registers user - sessions in the systemd control group - hierarchy. + sessions in the systemd login manager + systemd-logind.service8, + and hence the systemd control group hierarchy. On login, this module ensures the following: @@ -304,12 +305,14 @@ session required pam_systemd.so kill-session-processes=1 See Also + systemd1, + systemd-logind.service8, + logind.conf5, + loginctl1, pam.conf5, pam.d5, pam8, - pam_loginuid8, - logind.conf5, - systemd1 + pam_loginuid8 diff --git a/man/systemd-logind.service.xml b/man/systemd-logind.service.xml new file mode 100644 index 00000000..dc9ee294 --- /dev/null +++ b/man/systemd-logind.service.xml @@ -0,0 +1,98 @@ + + + + + + + + + systemd-logind + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd-logind + 8 + + + + systemd-logind.service + systemd-logind + systemd Login Manager + + + + sysytemd-logind.service + /usr/lib/systemd/systemd-logind + + + + Description + + systemd-logind is a system + service that manages user logins. It is responsible + for: keeping track of users and sessions, their + processes and their idle state; creating control + groups for user processes; provide PolicyKit-based + access for users to operations such as system shutdown + or sleep; implementing a shutdown/sleep inhibition + logic for applications; handling of power/sleep + hardware keys; multi-seat management; session switch + management; device access management for users; + automatic spawning of text logins (gettys) and user + runtime directory management. + + + User sessions are registered in logind via the + pam_systemd8 + PAM module. + + See + logind.conf5 + for information about the configuration of this + service. + + See Multi-Seat + on Linux for an introduction into basic + concepts of logind such as users, sessions and seats. + + + + See Also + + systemd1, + loginctl1, + logind.conf5, + pam_systemd8 + + + + diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index d890713f..0dd6e14e 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -7,8 +7,8 @@ [Unit] Description=Login Service +Documentation=man:systemd-logind.service(7) man:logind.conf(5) Documentation=http://www.freedesktop.org/wiki/Software/systemd/multiseat -Documentation=man:logind.conf(5) After=nss-user-lookup.target [Service] -- 2.39.5