summaryrefslogtreecommitdiff
path: root/data/console-kit-log-system-stop.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-03 19:24:18 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-05 23:19:47 +0200
commitafedbb80497e0a26f2026336943b1e37a8e696af (patch)
treedaef0c503c8b4c9ac10066bf2d3a9f42561178ef /data/console-kit-log-system-stop.service.in
parent5a81bb666df3d8469d282e63d452ac2dea96b313 (diff)
downloadConsoleKit2-afedbb80497e0a26f2026336943b1e37a8e696af.tar.gz
systemd: install unit files for CK logging calls
This follows the basic scheme of the Upstart scripts we already ship
Diffstat (limited to 'data/console-kit-log-system-stop.service.in')
-rw-r--r--data/console-kit-log-system-stop.service.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/console-kit-log-system-stop.service.in b/data/console-kit-log-system-stop.service.in
new file mode 100644
index 0000000..3292238
--- /dev/null
+++ b/data/console-kit-log-system-stop.service.in
@@ -0,0 +1,9 @@
+[Unit]
+Description=Console System Shutdown Logging
+DefaultDependencies=no
+Before=poweroff.service reboot.service halt.service killall.service
+After=console-kit-system-start.service
+
+[Service]
+Type=oneshot
+ExecStart=@sbindir@/ck-log-system-stop