How to check the logs of system service
As the systemctl is used to start and stop services, journalctrl keeps the logs of those services.
System Control
shell
$ systemctl status ashokma.com
Journal Control
shell
$ journalctl -u ashokma.com
Use the
-fto follow the logs as the services run.
shell
$ journalctl -u ashokma.com -f
