chiark / gitweb /
units: introduce kexec.service, kexec.target and exit.target
[elogind.git] / units / session / exit.service.in
index 1f515a75cedbf15701b9a61737cc3be85d0bfcb0..024fbe172d236d93661dcfdbdd2943953470017e 100644 (file)
@@ -1,9 +1,18 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+
+# See systemd.special(7) for details
+
 [Unit]
-Description=Exit
+Description=Exit the Session
 DefaultDependencies=no
 Requires=shutdown.target
 After=shutdown.target
 
 [Service]
-Type=finish
-ExecStart=@SYSTEMCTL@ --session daemon-exit
+Type=oneshot
+ExecStart=@SYSTEMCTL@ --session --force exit