active failed (result exit-code) apache code example Example: systemctl status apache2.service journalctl | tail