From bc3c5e161978a16c205e5043120169ec76b5d19c Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 19 Jun 2018 14:33:59 +0200 Subject: man: systemd.offline-updates: Document system-update-pre.target usage --- man/systemd.offline-updates.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'man/systemd.offline-updates.xml') diff --git a/man/systemd.offline-updates.xml b/man/systemd.offline-updates.xml index c11004c882..113d74a220 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 + . + -- cgit v1.2.3