summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-01-25 01:13:33 +0100
committerAki <please@ignore.pl>2024-01-25 01:13:33 +0100
commitf46c26858b2c1a9571894fb11c3283d5818899b8 (patch)
tree21c7cd4cf6847ecae2d076c1bdb7c2cf281e2adb
parent4a0697a0e19fcf7b19abbabffb14cba33aee3491 (diff)
downloadsystemd-ready-for-shutdown-master.zip
systemd-ready-for-shutdown-master.tar.gz
systemd-ready-for-shutdown-master.tar.bz2
Added drop-in exampleHEADmaster
-rw-r--r--ready-for-shutdown.target.8.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/ready-for-shutdown.target.8.in b/ready-for-shutdown.target.8.in
index babba56..f39d4b0 100644
--- a/ready-for-shutdown.target.8.in
+++ b/ready-for-shutdown.target.8.in
@@ -9,7 +9,17 @@ ready-for-shutdown.target, shutdown-if-no-sessions.service - systemd target that
Target is intended to mark the completion of all scheduled tasks and readiness for shutdown that is triggered
immediately after. Before enabling this target add
.B [Install]
-section listing all units that are intended to be run before shutting down.
+section listing all units that are intended to be run before shutting down. For example:
+.P
+.RS
+.EX
+[Unit]
+After=mirror.service
+
+[Install]
+WantedBy=mirror.service
+.EE
+.RE
.SH FILES
.I @SYSDDIR@/ready-for-shutdown.target
.br