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

A tutorial for writing a systemd service in Python

Results 6 python-systemd-tutorial issues
Sort by recently updated
recently updated
newest added
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!

It's an `sd_notify` wrapper that lets you do watchdog timers from systemd.

Thanks for your code! It got me going with writing a service. I did find one refinement that you may like to add back. You may need to check for...

You recommend using a dedicated user on the system for the python service to avoid using root and thus prevent avoidable security risks. I find this to be a very...

``` busctl --user monitor org.freedesktop.systemd1 ``` cannot receive any message for user service. https://github.com/altdesktop/python-dbus-next/issues/155 also not work.

this is great. The thing I was looking for, and what seems least straightforward to me is, external dependencies. I have a python script I wanna run with syystemd, but...