summaryrefslogtreecommitdiff
path: root/ready-for-shutdown.target.8.in
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-01-25 00:56:34 +0100
committerAki <please@ignore.pl>2024-01-25 00:56:34 +0100
commit4a0697a0e19fcf7b19abbabffb14cba33aee3491 (patch)
tree1d16f245d2098ac4f08aa42b5b546cdcd5569e86 /ready-for-shutdown.target.8.in
downloadsystemd-ready-for-shutdown-4a0697a0e19fcf7b19abbabffb14cba33aee3491.zip
systemd-ready-for-shutdown-4a0697a0e19fcf7b19abbabffb14cba33aee3491.tar.gz
systemd-ready-for-shutdown-4a0697a0e19fcf7b19abbabffb14cba33aee3491.tar.bz2
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.
Diffstat (limited to 'ready-for-shutdown.target.8.in')
-rw-r--r--ready-for-shutdown.target.8.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/ready-for-shutdown.target.8.in b/ready-for-shutdown.target.8.in
new file mode 100644
index 0000000..babba56
--- /dev/null
+++ b/ready-for-shutdown.target.8.in
@@ -0,0 +1,18 @@
+.TH ready-for-shutdown.target 8 "2024-01-25"
+.SH NAME
+ready-for-shutdown.target, shutdown-if-no-sessions.service - systemd target that marks completion of routine boot tasks
+.SH SYNOPSIS
+.B ready-for-shutdown.target
+.br
+.B shutdown-if-no-sessions.service
+.SH DESCRIPTION
+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.
+.SH FILES
+.I @SYSDDIR@/ready-for-shutdown.target
+.br
+.I @SYSDDIR@/shutdown-if-no-sessions.service
+.br
+.I @LIBEXECDIR@/shutdown-if-no-sessions