For some reason minitower_oled.service fails to start despite sysinfo.py running just fine when ran with python /usr/local/minitower/sysinfo.py
$ systemctl status minitower_oled.service
× minitower_oled.service - Minitower OLED Service
Loaded: loaded (/etc/systemd/system/minitower_oled.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2024-06-08 18:25:03 EDT; 18s ago
Duration: 235ms
Process: 1128 ExecStart=sudo /bin/bash -c /usr/bin/python3 /usr/local/minitower/sysinfo.py (code=exited, status=1/FAILURE)
Main PID: 1128 (code=exited, status=1/FAILURE)
CPU: 234ms
Jun 08 18:25:03 raspberrypi systemd[1]: minitower_oled.service: Scheduled restart job, restart counter is at 5.
Jun 08 18:25:03 raspberrypi systemd[1]: Stopped minitower_oled.service - Minitower OLED Service.
Jun 08 18:25:03 raspberrypi systemd[1]: minitower_oled.service: Start request repeated too quickly.
Jun 08 18:25:03 raspberrypi systemd[1]: minitower_oled.service: Failed with result 'exit-code'.
Jun 08 18:25:03 raspberrypi systemd[1]: Failed to start minitower_oled.service - Minitower OLED Service.
running a raspberry pi 4 with rasbian lite 64bit
btw im using a custom username instead of "pi" if that makes any difference :/
For some reason minitower_oled.service fails to start despite sysinfo.py running just fine when ran with
python /usr/local/minitower/sysinfo.pyrunning a raspberry pi 4 with rasbian lite 64bit
btw im using a custom username instead of "pi" if that makes any difference :/