changeset 2315 | 51097a1f0381 |
parent 2314 | b98ca7669c57 |
--- 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 ...