mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 02:33:36 +08:00
4fd3fc6639
In general, it's not very usuful to repeat the unit name as the description. Especially when the word is a common name and if somebody doesn't understand the meaning immediately, they are not going to gain anything from the repeat either, e.g. "halt", "swap". In the status-unit-format=combined output parentheses are used around Description, so avoid using parenthesis in the Description itself.
20 lines
594 B
Desktop File
20 lines
594 B
Desktop File
# 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-halt.service(8)
|
|
DefaultDependencies=no
|
|
Requires=shutdown.target umount.target final.target
|
|
After=shutdown.target umount.target final.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=systemctl --force halt
|