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 <vinc...@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)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150312114145.gc10...@ypig.lip.ens-lyon.fr

Reply via email to