mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Add hint on how to restart on crash (#8610)
I was experiencing crashes, when I requested too many data points for plotting. So, this configuration makes my system come back automatically.
This commit is contained in:
parent
c851605792
commit
b9e7f41b76
@ -134,3 +134,11 @@ When working on Home Assistant, you can easily restart the system and then watch
|
|||||||
$ sudo systemctl restart home-assistant@YOUR_USER && sudo journalctl -f -u home-assistant@YOUR_USER
|
$ sudo systemctl restart home-assistant@YOUR_USER && sudo journalctl -f -u home-assistant@YOUR_USER
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### {% linkable_title Automatically restarting Home Assistant on failure %}
|
||||||
|
|
||||||
|
If you want to restart the Home Assistant service automatically after a crash, add the following lines to the `[Service]` section of your unit file:
|
||||||
|
|
||||||
|
```
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user