summarylogtreecommitdiffstats
path: root/shutdown-diagnose.service
diff options
context:
space:
mode:
Diffstat (limited to 'shutdown-diagnose.service')
-rw-r--r--shutdown-diagnose.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/shutdown-diagnose.service b/shutdown-diagnose.service
new file mode 100644
index 000000000000..fef096532ea4
--- /dev/null
+++ b/shutdown-diagnose.service
@@ -0,0 +1,11 @@
+[Unit]
+Description= A service to execute start diagnose-shutdown at begining of shutdown
+
+[Service]
+Type=idle
+RemainAfterExit=yes
+ExecStart=/usr/bin/true
+ExecStop=/usr/bin/start-diagnose-shutdown
+
+[Install]
+WantedBy=default.target