2020-11-09 12:23:58 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-19 00:35:03 +08:00
|
|
|
#
|
2010-05-17 07:34:36 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08:00
|
|
|
# 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
|
2010-05-17 07:34:36 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2021-06-29 15:47:53 +08:00
|
|
|
Description=System Halt
|
2012-05-21 21:12:18 +08:00
|
|
|
Documentation=man:systemd.special(7)
|
2010-09-03 07:42:19 +08:00
|
|
|
DefaultDependencies=no
|
2012-06-25 20:24:56 +08:00
|
|
|
Requires=systemd-halt.service
|
|
|
|
After=systemd-halt.service
|
2010-08-31 04:45:46 +08:00
|
|
|
AllowIsolate=yes
|
2024-05-18 00:26:14 +08:00
|
|
|
JobTimeoutSec=30min
|
|
|
|
JobTimeoutAction=halt-force
|
2010-06-19 03:56:21 +08:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
Alias=ctrl-alt-del.target
|