On Tue, Jan 16, 2018 at 12:17:52AM +0100, Michał Zegan wrote: > Hello. > When systemctl is-active was added? > I need this to check if I can safely use it to check if unit is active > if I don't have prior knowledge about the systemd version I am running > this on, this is for an ansible playbook. >
It appears "is-active" was added to systemctl as part of: commit ee5762e3780c048b230e8c1e7659e40fc1f443bf Author: Lennart Poettering <[email protected]> Date: Sat Jul 24 00:53:33 2010 +0200 systemctl: fold systemd-install into systemctl The earliest tagged release this commit made it into according to `git tag --contains ee5762e378` is v4. Regards, Vito Caputo _______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
