how to get logs from particular service systemctl code example Example: systemctl logs journalctl -u service-name.service