Re: No feedback from systemd / "systemctl stop X"... Nothing on stdout, nothing that `echo $?` can see...
On 2015-03-11 21:13:47 -0700, Don Armstrong wrote:
> systemctl start foo && systemctl is-active foo;
[...]
> No. Really, all systemctl start/stop do is tell systemd to actually
> stop or start the service, and optionally block until the action is
> completed.
And according to the systemctl(1) man page, the default is to block,
so that the above command will work, if I understand correctly.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: