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