From e3b8ae91d15dad9713ca87c3f5d052134f80f1d4 Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Fri, 13 Jul 2018 00:46:44 +0200 Subject: [PATCH] Updated systemd template --- hass-configurator.systemd | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hass-configurator.systemd b/hass-configurator.systemd index 5a7c6f6..229fa5f 100644 --- a/hass-configurator.systemd +++ b/hass-configurator.systemd @@ -5,8 +5,15 @@ After=network.target [Service] Type=simple User=homeassistant -#Set the path to your configurator.py location +# Set configuration options by specifying environment variables +# Environment=HC_LISTENIP=0.0.0.0 +# Environment=HC_PORT=3218 +# Environment=HC_GIT=false +# Environment=HC_ALLOWED_NETWORKS=192.168.1.0/24,127.0.0.1 +# ... +# Set the path to your configurator.py location WorkingDirectory=/etc/homeassistant +# You can also save your static options in a JSON formatted conf-file ExecStart=/usr/bin/python3 /etc/homeassistant/configurator.py settings.conf Restart=always