
Is there any way to fix that? My unit file looks like this:
Code: Select all
[Unit]
Description=Domoticz-Google-Assistant Service
After=multi-user.target
[email protected]
[Service]
Environment=VIRTUAL_ENV=/home/pi/Domoticz-Google-Assistant/env
Environment=PATH=/home/pi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ExecStart=/home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/Domoticz-Google-Assistant/
User=pi
Restart=on-failure
[Install]
WantedBy=multi-user.target