From f46c26858b2c1a9571894fb11c3283d5818899b8 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 25 Jan 2024 01:13:33 +0100 Subject: Added drop-in example --- ready-for-shutdown.target.8.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'ready-for-shutdown.target.8.in') 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 -- cgit v1.1