systemctl view log of service code example Example: systemctl logs journalctl -u service-name.service