mirror of
https://github.com/home-assistant/core.git
synced 2025-06-06 22:27:12 +00:00
Let systemd handle home-assistant process restarts. (#2127)
This commit is contained in:
parent
5bedf5d604
commit
3ea179cc0b
@ -12,8 +12,9 @@ User=%i
|
|||||||
# Enable the following line if you get network-related HA errors during boot
|
# Enable the following line if you get network-related HA errors during boot
|
||||||
#ExecStartPre=/usr/bin/sleep 60
|
#ExecStartPre=/usr/bin/sleep 60
|
||||||
# Use `whereis hass` to determine the path of hass
|
# Use `whereis hass` to determine the path of hass
|
||||||
ExecStart=/usr/bin/hass
|
ExecStart=/usr/bin/hass --runner
|
||||||
SendSIGKILL=no
|
SendSIGKILL=no
|
||||||
|
RestartForceExitStatus=100
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user