From 071952462c0116ec8b7b84db7f6616e73379c928 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 3 Sep 2015 22:06:50 +0200 Subject: [PATCH] initial systemd service unit file --- scripts/home-assistant.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/home-assistant.service 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 +