python-systemd-tutorial icon indicating copy to clipboard operation
python-systemd-tutorial copied to clipboard

Readme.md jounalctl

Open jgwinner opened this issue 5 years ago • 2 comments
trafficstars

I think the line:

$ journalctl --user-unit python_demo_service

should actually be:

journalctl _SYSTEMD_UNIT=python_demo_service.service

Or at least, that's what worked for me on a Raspberry Pi 4, running Buster (Raspian/Debbian). YLMV!

jgwinner avatar Mar 08 '20 06:03 jgwinner

It should actually be changed to:

$ journalctl python_demo_service

to follow the style with other examples (_SYSTEMD_UNIT= and .service are optional)

ollipal avatar Aug 31 '21 11:08 ollipal