From 3ea179cc0b99321cbd7d1922a03c6ec977be716c Mon Sep 17 00:00:00 2001 From: Jan Harkes Date: Sat, 21 May 2016 15:58:14 -0400 Subject: [PATCH] Let systemd handle home-assistant process restarts. (#2127) --- script/home-assistant@.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/home-assistant@.service b/script/home-assistant@.service index a36a6e743b1..8e520952db9 100644 --- a/script/home-assistant@.service +++ b/script/home-assistant@.service @@ -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