From a1b256b0b562481404bda8304e04dee7d7d5e7c9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 24 May 2010 22:31:38 +0200 Subject: unit: introduce exit.service for exiting from session instances --- units/session/.gitignore | 1 + units/session/exit.service.in | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 units/session/.gitignore create mode 100644 units/session/exit.service.in (limited to 'units') diff --git a/units/session/.gitignore b/units/session/.gitignore new file mode 100644 index 0000000000..eeb62b32ba --- /dev/null +++ b/units/session/.gitignore @@ -0,0 +1 @@ +exit.service 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 -- cgit v1.2.3-54-g00ecf