mirror of
https://github.com/systemd/systemd.git
synced 2024-12-28 11:21:59 +03:00
4ccde410a3
getopt allows non-ambiguous abbreviations, so backwards-compat is maintained, and people can use --kill-who (or even shorter abbreviations). English is flexible, so in common speach people would use both forms, even if "whom" is technically more correct. The advantage of using the longer form in the code is that we effectively allow both forms, so we stop punishing people who DTGCT¹, but still allow people to use the spoken form if they prefer. 1. Do the gramatically correct thing
11 lines
337 B
Desktop File
11 lines
337 B
Desktop File
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
Description=Unit with BindsTo=
|
|
BindsTo=testsuite-57-bound-by.service
|
|
After=testsuite-57-bound-by.service
|
|
|
|
[Service]
|
|
ExecStart=/bin/sleep infinity
|
|
# --kill-who= (no 'm') to check that the short form is accepted
|
|
ExecStopPost=systemctl kill --kill-who=main -sRTMIN+1 testsuite-57.service
|