diff options
author | Aki <please@ignore.pl> | 2024-01-25 01:13:33 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-01-25 01:13:33 +0100 |
commit | f46c26858b2c1a9571894fb11c3283d5818899b8 (patch) | |
tree | 21c7cd4cf6847ecae2d076c1bdb7c2cf281e2adb | |
parent | 4a0697a0e19fcf7b19abbabffb14cba33aee3491 (diff) | |
download | systemd-ready-for-shutdown-master.zip systemd-ready-for-shutdown-master.tar.gz systemd-ready-for-shutdown-master.tar.bz2 |
-rw-r--r-- | ready-for-shutdown.target.8.in | 12 |
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 |