“i need to check if a systemd service is running programatically. I know! I’ll u...

@domi@donotsta.re

“i need to check if a systemd service is running programatically. I know! I’ll use the –quiet flag to make sure it doesn’t start a pager!”

so I run systemctl -q status dbus

and systemctl shows me the whole output and launches a pager