Use a more robust `systemctl is-active` instead of `... status | grep
active` to check if the service is up.