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