aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2018-04-28 19:26:09 +0100
committerPaul Healy <lmiphay@gmail.com>2018-04-28 19:26:09 +0100
commit57652f863ed1f64b8de719754cfb93cd47e72b6a (patch)
tree0e58e6ae5ee8cf32dd8adfb51581c75ac37f50a5 /app-misc/homeassistant-bin/files
parentadd ebuild for smpplib (diff)
downloadlmiphay-57652f863ed1f64b8de719754cfb93cd47e72b6a.tar.gz
lmiphay-57652f863ed1f64b8de719754cfb93cd47e72b6a.tar.bz2
lmiphay-57652f863ed1f64b8de719754cfb93cd47e72b6a.zip
gentoo best practice: specify config in the unit file and dont reference openrc conf files
Diffstat (limited to 'app-misc/homeassistant-bin/files')
-rw-r--r--app-misc/homeassistant-bin/files/homeassistant.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/app-misc/homeassistant-bin/files/homeassistant.service b/app-misc/homeassistant-bin/files/homeassistant.service
index e4f1f36..5bf103e 100644
--- a/app-misc/homeassistant-bin/files/homeassistant.service
+++ b/app-misc/homeassistant-bin/files/homeassistant.service
@@ -5,8 +5,7 @@ After=network-online.target
[Service]
Type=simple
User=homeassistant
-ExecStart=/opt/homeassistant/bin/hass --log-file /var/log/homeassistant/homeassistant.log $HASS_OPTS
-EnvironmentFile=/etc/conf.d/homeassistant
+ExecStart=/opt/homeassistant/bin/hass --log-file /var/log/homeassistant/homeassistant.log --config /etc/homeassistant
[Install]
WantedBy=multi-user.target