Page 1 of 1

DZGA Service blocking login at boot?

Posted: Monday 02 November 2020 18:50
by portafreak
DZGA seems to be blocking the login prompt when the raspberry boots:

Image

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




Re: DZGA Service blocking login at boot?

Posted: Monday 02 November 2020 19:11
by EddyG
I have 1 line added: StandardInput=tty-force

Code: Select all

ExecStart=/home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/Domoticz-Google-Assistant/
StandardInput=tty-force
User=pi