Re: Q: systemctl kill: "Invalid who argument 15862"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@LOC1.service
Failed to kill unit iotwatch@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
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux