From: Hans de Goede Date: Tue, 19 Jun 2018 12:33:59 +0000 (+0200) Subject: man: systemd.offline-updates: Document system-update-pre.target usage X-Git-Tag: v239~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc3c5e161978a16c205e5043120169ec76b5d19c;p=thirdparty%2Fsystemd.git man: systemd.offline-updates: Document system-update-pre.target usage --- diff --git a/man/systemd.offline-updates.xml b/man/systemd.offline-updates.xml index c11004c8822..113d74a2209 100644 --- a/man/systemd.offline-updates.xml +++ b/man/systemd.offline-updates.xml @@ -139,6 +139,17 @@ After=system-update-pre.target and explicitly pull in any other services it requires. + + + It may be desirable to always run an auxiliary unit when booting + into offline-updates mode, which itself does not install updates. To + do this create a .service file with + Wants=system-update-pre.target and + Before=system-update-pre.target and add a symlink + to that file under + /usr/lib/systemd/system-update.target.wants + . +