From 4a0697a0e19fcf7b19abbabffb14cba33aee3491 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 25 Jan 2024 00:56:34 +0100 Subject: Naive approach that seems to work with mayohiga One of the important flaws is that if one of the intended services will not run, then shutdown may not happen at all. With current mayohiga setup this will not happen but it may break in any other case. --- ready-for-shutdown.target | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ready-for-shutdown.target (limited to 'ready-for-shutdown.target') diff --git a/ready-for-shutdown.target b/ready-for-shutdown.target new file mode 100644 index 0000000..10e8191 --- /dev/null +++ b/ready-for-shutdown.target @@ -0,0 +1,5 @@ +[Unit] +Description=All scheduled timers and builds are done +Documentation=man:ready-for-shutdown.target(8) +Before=shutdown-if-no-sessions.service +Wants=shutdown-if-no-sessions.service -- cgit v1.1