Tail the journalctl log on failure to restart systemd service?

-u stands for unit.
-e stands for pager end

From the documentation:

This implies -n1000 to guarantee that the pager will not >buffer logs of unbounded size.

For example to get the last 50 lines for nginx you would execute:

journalctl -n 50 -u nginx