X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsession%2Fexit.service.in;h=024fbe172d236d93661dcfdbdd2943953470017e;hb=761163046260b42c0bed075c17d43e0e6c3dd3a4;hp=3e5b5bff71efa25332fc289aedd2dfd01ba820ca;hpb=b827a9f97dcc88f4b9e23d656d7325455eb33848;p=elogind.git diff --git a/units/session/exit.service.in b/units/session/exit.service.in index 3e5b5bff7..024fbe172 100644 --- a/units/session/exit.service.in +++ b/units/session/exit.service.in @@ -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 -Wants=shutdown.target +Requires=shutdown.target After=shutdown.target [Service] -Type=finish -ExecStart=@SYSTEMCTL@ --session daemon-exit +Type=oneshot +ExecStart=@SYSTEMCTL@ --session --force exit