Skip to content

Adding tado-local in systemd #12

@enboer

Description

@enboer

I have a virtuale Python environment. With pip3 install tado-local is installed. Running it from the command line is working. Now followed the steps to add it to systemd.
I edit the /etc/systemd/system/tado-local.service file to have the correct IP address.
The path to the tado-local is /usr/local/bin/tado-local, however in my case it was installed at home/pi/python/env/bin/tado-local. So I modified this path in the .service file as well.
But when I start this service I get these messages:
tado-local.service: Failed at step EXEC spawning /home/pi/python/env/bin/tado-local: No such file or directory

But this tado-local exist in this directory, also in this tado-local the path to the python in this virtual environment is there:

!/home/pi/python/env/bin/python
EASY-INSTALL-ENTRY-SCRIPT: 'tado-local','console_scripts','tado-local'
import re
.....

Any I did what is wrong with this setup?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions