From: Lennart Poettering Date: Wed, 27 Jun 2012 13:12:29 +0000 (+0200) Subject: man: document systemd-update-generator X-Git-Tag: v186~59 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=f5ccf26ded1fd7c3d5d9c7b6615236ae051b4a34 man: document systemd-update-generator --- diff --git a/Makefile.am b/Makefile.am index acbdeedd1..239dc6304 100644 --- a/Makefile.am +++ b/Makefile.am @@ -498,7 +498,8 @@ MANPAGES = \ man/systemd-ask-password-console.service.8 \ man/systemd-analyze.1 \ man/systemd-tty-ask-password-agent.1 \ - man/systemd-getty-generator.8 + man/systemd-getty-generator.8 \ + man/systemd-system-update-generator.8 MANPAGES_ALIAS = \ man/reboot.8 \ diff --git a/man/systemd-system-update-generator.xml b/man/systemd-system-update-generator.xml new file mode 100644 index 000000000..3a0a505ec --- /dev/null +++ b/man/systemd-system-update-generator.xml @@ -0,0 +1,79 @@ + + + + + + + + systemd-system-update-generator + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd-system-update-generator + 8 + + + + systemd-system-update-generator + Generator for redirecting boot to offline update mode + + + + /usr/lib/systemd/system-generators/systemd-system-update-generator + + + + Description + + systemd-system-update-generator + is a generator that automatically redirects the boot + process to system-update.target + if /system-update exists. This is + required to implement the logic explained in the + System + Updates Specification. + + + systemd-system-update-generator + implements the generator + specification. + + + + See Also + + systemd1, + systemd.special7 + + + + diff --git a/man/systemd.special.xml b/man/systemd.special.xml index fdb202037..396697be9 100644 --- a/man/systemd.special.xml +++ b/man/systemd.special.xml @@ -96,6 +96,7 @@ syslog.service, syslog.socket, syslog.target, + system-update.target, time-sync.target, umount.target @@ -764,6 +765,23 @@ facility. + + system-update.target + + A special target unit + that is used for off-line + system updates. + systemd-system-update-generator8 + will redirect the boot process + to this target if + /system-update + exists. For more information + see the System + Updates + Specification. + + time-sync.target @@ -795,6 +813,7 @@ is set (the default). + diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 index d61f93cec..fa386ea0d 100644 --- a/units/serial-getty@.service.m4 +++ b/units/serial-getty@.service.m4 @@ -7,7 +7,7 @@ [Unit] Description=Serial Getty on %I -Documentation=man:agetty(8) +Documentation=man:agetty(8) man:systemd-getty-generator(8) BindTo=dev-%i.device After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service m4_ifdef(`TARGET_FEDORA', diff --git a/units/system-update.target b/units/system-update.target index 381f3f9a6..d0f847f95 100644 --- a/units/system-update.target +++ b/units/system-update.target @@ -8,7 +8,7 @@ [Unit] Description=System Update Documentation=http://freedesktop.org/wiki/Software/systemd/SystemUpdates -Documentation=man:systemd.special(7) +Documentation=man:systemd.special(7) man:systemd-system-update-generator(8) Requires=sysinit.target Conflicts=shutdown.target systemd-readahead-collect.service systemd-readahead-replay.service After=sysinit.target