From: Zbigniew Jędrzejewski-Szmek Date: Thu, 18 Jul 2019 08:14:52 +0000 (+0200) Subject: man: add note about systemctl stop return value X-Git-Tag: v243-rc1~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f0acdb36615d7e27bef9d951001daf3addc2f25;p=thirdparty%2Fsystemd.git man: add note about systemctl stop return value Fixes #13104. (I know a lot more could be added to that man page. This patch only addresses that once specific complaint.) --- diff --git a/man/systemctl.xml b/man/systemctl.xml index 6f93e1cd2cd..0f06a88f424 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -816,8 +816,14 @@ Sun 2017-02-26 20:57:49 EST 2h 3min left Sun 2017-02-26 11:56:36 EST 6h ago stop PATTERN… - Stop (deactivate) one or more units specified on the - command line. + Stop (deactivate) one or more units specified on the command line. + + This command will fail if the unit does exist or if stopping of the unit is prohibited (see + RefuseManualStop= in + systemd.unit5). + It will not fail if any of the commands configured to stop the unit + (ExecStop=, etc.) fail, because the manager will still forcibly terminate the + unit.