Skip to content

Commit

Permalink
Let systemd handle home-assistant process restarts. (home-assistant#2127
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jaharkes authored and balloob committed May 21, 2016
1 parent 5bedf5d commit 3ea179c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/home-assistant@.service
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ User=%i
# Enable the following line if you get network-related HA errors during boot
#ExecStartPre=/usr/bin/sleep 60
# Use `whereis hass` to determine the path of hass
ExecStart=/usr/bin/hass
ExecStart=/usr/bin/hass --runner
SendSIGKILL=no
RestartForceExitStatus=100

[Install]
WantedBy=multi-user.target

0 comments on commit 3ea179c

Please sign in to comment.