summaryrefslogtreecommitdiffstats
path: root/core/modules/systemd/data/lib/systemd/system/halt-local.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/systemd/data/lib/systemd/system/halt-local.service')
-rw-r--r--core/modules/systemd/data/lib/systemd/system/halt-local.service20
1 files changed, 20 insertions, 0 deletions
diff --git a/core/modules/systemd/data/lib/systemd/system/halt-local.service b/core/modules/systemd/data/lib/systemd/system/halt-local.service
new file mode 100644
index 00000000..e6243eeb
--- /dev/null
+++ b/core/modules/systemd/data/lib/systemd/system/halt-local.service
@@ -0,0 +1,20 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=/usr/sbin/halt.local Compatibility
+ConditionFileIsExecutable=/usr/sbin/halt.local
+DefaultDependencies=no
+After=shutdown.target
+Before=final.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/halt.local
+TimeoutSec=0
+StandardOutput=tty
+RemainAfterExit=yes