I am pretty new to pi, linux and coding in general. So please ignore my ignorance.
Thanks in advance,
Kiran_j
pi@kiranpi:~ $ sudo systemctl enable gassistpi.service
pi@kiranpi:~ $ sudo systemctl start gassistpi.service
Failed to start gassistpi.service: Unit gassistpi.service has a bad unit file setting.
See system logs and 'systemctl status gassistpi.service' for details.
Why do I get this error??
I am pretty new to pi, linux and coding in general. So please ignore my ignorance.
Thanks in advance, Kiran_j
pi@kiranpi:~ $ sudo systemctl enable gassistpi.service pi@kiranpi:~ $ sudo systemctl start gassistpi.service Failed to start gassistpi.service: Unit gassistpi.service has a bad unit file setting. See system logs and 'systemctl status gassistpi.service' for details.
Inside the gassistpi.service
[Unit] Description=Google Assistant-Voice Wants=network-online.target After=network-online.target
[Service] Environment=VIRTUAL_ENV=/home/USER/env Environment=PATH=/home/USER/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ExecStart=/home/USER/env/bin/python -u /home/USER/GassistPi/src/main.py --project_id kiranpi01 --device_model_id kiranpi01-kiranpi-r43g0j ExecStart=/home/USER/env/bin/python -u /home/USER/GassistPi/src/pushbutton.py --project-id kiranpi01 --device-model-id kiranpi01-kiranpi-r43g0j
WorkingDirectory=/home/USER/ StandardOutput=inherit StandardError=inherit Restart=always User=USER
[Install] WantedBy=multi-user.target