summaryrefslogtreecommitdiff
path: root/units/suse/halt-local.service
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@suse.com>2011-07-07 14:56:30 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-12 00:15:35 +0200
commita268a6a38febcb9182cac92aaef8803f2d20d6eb (patch)
treeda8b93087c835cdf14581e96ed3a99bdcad9b123 /units/suse/halt-local.service
parent89d471d55eadce53c5ad97e50dfaa0063c227d7e (diff)
units: add units for boot.local/halt.local on SUSE distributions.
Diffstat (limited to 'units/suse/halt-local.service')
-rw-r--r--units/suse/halt-local.service20
1 files changed, 20 insertions, 0 deletions
diff --git a/units/suse/halt-local.service b/units/suse/halt-local.service
new file mode 100644
index 0000000000..68cacc6658
--- /dev/null
+++ b/units/suse/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 General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=/etc/init.d/halt.local Compatibility
+ConditionPathExists=/etc/init.d/halt.local
+DefaultDependencies=no
+After=shutdown.target
+Before=final.target
+
+[Service]
+Type=oneshot
+ExecStart=/etc/init.d/halt.local
+TimeoutSec=0
+StandardOutput=tty
+RemainAfterExit=yes