Skip to content

issues Search Results · repo:torfsen/python-systemd-tutorial language:Python

Filter by

8 results
 (89 ms)

8 results

intorfsen/python-systemd-tutorial (press backspace or delete to remove)

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 I m not sure how virtualenvs/libraries ...
  • jstoner
  • Opened 
    on Mar 5
  • #17

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.
  • honglei
  • Opened 
    on Jun 30, 2023
  • #16

This is a fantastic tutorial thank you! I have a quick question: What is the correct way to install Python packages so that they can be imported in the service python script under the dedicated service ...
  • aspence
  • 4
  • Opened 
    on Sep 28, 2021
  • #14

Seems like the ~/.config/systemd/user/ directory needs to exist prior session start, otherwise systemd behaves weird: - I logged in, created that directory and a unit file therein. - systemctl --user ...
  • k-husmann
  • 2
  • Opened 
    on Apr 23, 2020
  • #9

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 ...
  • jgwinner
  • 2
  • Opened 
    on Mar 8, 2020
  • #8

Hi I ve been looking at https://github.com/torfsen/service, and then I found this note. Is the main difference between this tutorial and the tutorial at https://python-service.readthedocs.io/en/stable/ ...
  • jgwinner
  • 2
  • Opened 
    on Mar 8, 2020
  • #7

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 good practice, and to build up on this ...
  • pirateradiohack
  • Opened 
    on Jun 8, 2019
  • #4

In Manually Starting and Stopping the Service section, if you don t enable the service before starting, it will return Failed to start python_demo_service.service: Unit python_demo_service.service not ...
  • mrezzamoradi
  • 4
  • Opened 
    on Feb 19, 2019
  • #3
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub