# HG changeset patch # User Oleksandr Gavenko # Date 1545608209 -7200 # Node ID 51097a1f0381fed889060c320332ae32a6030cdb # Parent b98ca7669c5722781043a04828599e1e7965fc58 Systemd journal. diff -r b98ca7669c57 -r 51097a1f0381 systemd.rst --- a/systemd.rst Mon Dec 24 01:34:35 2018 +0200 +++ b/systemd.rst Mon Dec 24 01:36:49 2018 +0200 @@ -22,3 +22,17 @@ $ sudo systemctl enable my.service $ sudo systemctl disable my.service +Systemd journal +=============== + +Get service console output:: + + $ journalctl -u repricer-server.service + +Like ``tail -n 20``:: + + $ journalctl -n 20 ... + +Like ``tail -f``:: + + $ journalctl -f ...