diff --git a/scripts/home-assistant.service b/scripts/home-assistant.service new file mode 100644 index 00000000000..6f0f767cddf --- /dev/null +++ b/scripts/home-assistant.service @@ -0,0 +1,13 @@ +# This is a simple service file for systems with systemd. +# +[Unit] +Description=Home Assistant +After=network.target + +[Service] +Type=simple +ExecStart=/usr/bin/hass --config /root/.homeassistant + +[Install] +WantedBy=multi-user.target +