X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fpoweroff.target;h=975b088965d0e01b6b35159c8771a574868ec884;hp=df491a1907fe3ec8aae2dd3440fd54edc48a735d;hb=39439087bf398c7d5b5baf1e79460f439b2f5ad9;hpb=5e6afdd3d359fc42de7ac432243e98673577e81f diff --git a/units/poweroff.target b/units/poweroff.target index df491a190..975b08896 100644 --- a/units/poweroff.target +++ b/units/poweroff.target @@ -1,24 +1,19 @@ # This file is part of systemd. # -# Copyright 2010 Lennart Poettering -# # 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. -# -# systemd is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with systemd; If not, see . # See systemd.special(7) for details [Unit] Description=Power-Off +DefaultDependencies=no Names=runlevel0.target Requires=poweroff.service After=poweroff.service +AllowIsolate=yes + +[Install] +Alias=ctrl-alt-del.target