Skip to content

minitower_oled.service fails to start #15

Description

@TipsyTheCat

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 :/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions