summaryrefslogtreecommitdiff
path: root/rc-local-shutdown.service
diff options
context:
space:
mode:
Diffstat (limited to 'rc-local-shutdown.service')
-rw-r--r--rc-local-shutdown.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/rc-local-shutdown.service b/rc-local-shutdown.service
new file mode 100644
index 0000000..5f672f7
--- /dev/null
+++ b/rc-local-shutdown.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=/etc/rc.local.shutdown Compatibility
+ConditionPathIsExecutable=/etc/rc.local.shutdown
+DefaultDependencies=no
+After=rc-local.service basic.target
+Before=shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=/etc/rc.local.shutdown
+StandardInput=tty
+RemainAfterExit=yes