mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
1cd904bbe0
For consistency with other targets, e.g. poweroff.target or reboot.target.
22 lines
598 B
SYSTEMD
22 lines
598 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=Reboot via kexec
|
|
Documentation=man:systemd.special(7)
|
|
DefaultDependencies=no
|
|
Requires=systemd-kexec.service
|
|
After=systemd-kexec.service
|
|
AllowIsolate=yes
|
|
JobTimeoutSec=30min
|
|
JobTimeoutAction=kexec-force
|
|
|
|
[Install]
|
|
Alias=ctrl-alt-del.target
|