summaryrefslogtreecommitdiff
path: root/units/session/exit.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-24 22:31:38 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-24 22:32:44 +0200
commita1b256b0b562481404bda8304e04dee7d7d5e7c9 (patch)
tree24ef1cba86f0a789d5ecc8fe5c19cbd8b09ca8f0 /units/session/exit.service.in
parent683f468c54a81fd4084a2ba1082025959cd3c7d1 (diff)
unit: introduce exit.service for exiting from session instances
Diffstat (limited to 'units/session/exit.service.in')
-rw-r--r--units/session/exit.service.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/units/session/exit.service.in b/units/session/exit.service.in
new file mode 100644
index 0000000000..86c8bbc672
--- /dev/null
+++ b/units/session/exit.service.in
@@ -0,0 +1,8 @@
+[Unit]
+Description=Exit
+Requires=shutdown.target
+After=shutdown.target
+
+[Service]
+Type=finish
+ExecStart=@SYSTEMCTL@ --session daemon-exit