summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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