how to see if service is running code example Example: check if service is running server systemctl is-active --quiet service