[systemd-devel] Q: systemctl kill: "Invalid who argument 15862"
Paul Menzel
pmenzel+systemd-devel at molgen.mpg.de
Wed May 6 09:26:09 UTC 2020
Dear Ulrich,
Am 06.05.20 um 11:21 schrieb Ulrich Windl:
> I have a question for systemd-228-150.82.1.x86_64 (of SLES12 SP4):
> While developing a script for logrotate, I tested this command with the
> following result:
>
> # systemctl kill -s HUP --kill-who=15862 iotwatch at LOC1.service
> Failed to kill unit iotwatch at LOC1.service: Invalid who argument 15862
[…]
> Did I misinterpret the manual page, or what is the problem?
>
> --kill-who=
> When used with kill, choose which processes to send a signal to.
> Must be one of main, control or all to select whether to kill only
> the main process, the control process or all processes of the
> unit.
I understand it, that only *main*, *control* or *all* are valid arguments.
Kind regards,
Paul
More information about the systemd-devel
mailing list