After power outage homebridge gets stuck in a loop
### Analysis

After a spike in power outages and homebridge stuck in a loop once it turns on, the problem is having to manually restart the PI again for it to be online immediately 

### Expected Behavior

pi should come on and homebridge should go live

### Steps To Reproduce

power outage, it is not an issue on unplug/replug only on power outage with spike

### Logs

```markdown
...
```


### Configuration

```json
n/a
```


### Environment

- OS:Raspbian GNU/Linux Bullseye (11)
- Software:
- Node: v18.16.1
- npm:


### Process Supervisor

hb-service

### Additional Context

added this script found on reddit and my problem was solved:
https://www.reddit.com/r/homebridge/comments/12sjjsh/step_by_step_homebridge_self_heal_restart_after/

hoping it can be fixed on your end to help others, found lots of people with similar issue who didn't have a fix.