mirror of
https://github.com/systemd/systemd.git
synced 2024-12-13 20:23:48 +08:00
1cd904bbe0
For consistency with other targets, e.g. poweroff.target or reboot.target.
22 lines
590 B
SYSTEMD
22 lines
590 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
#
|
|
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=System Halt
|
|
Documentation=man:systemd.special(7)
|
|
DefaultDependencies=no
|
|
Requires=systemd-halt.service
|
|
After=systemd-halt.service
|
|
AllowIsolate=yes
|
|
JobTimeoutSec=30min
|
|
JobTimeoutAction=halt-force
|
|
|
|
[Install]
|
|
Alias=ctrl-alt-del.target
|