From 8db2f8250a8f3ec8998665e7371c36a425ad8e05 Mon Sep 17 00:00:00 2001 From: Timmo Date: Wed, 12 Dec 2018 13:25:00 +0000 Subject: [PATCH] :shirt: :fire: Fix linter warnings --- home-panel/rootfs/etc/services.d/api/run | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/home-panel/rootfs/etc/services.d/api/run b/home-panel/rootfs/etc/services.d/api/run index a6d542e..3b5668d 100644 --- a/home-panel/rootfs/etc/services.d/api/run +++ b/home-panel/rootfs/etc/services.d/api/run @@ -11,11 +11,6 @@ hass.log.info "Run API.." # shellcheck disable=SC2164 cd /opt/api -local DB_PATH -local CONFIG_PATH -local SSL_PATH_CERT -local SSL_PATH_KEY - DB_PATH=/config/home-panel.db CONFIG_PATH=/config/$(hass.config.get 'config_file') @@ -24,4 +19,9 @@ if hass.config.true 'ssl'; then SSL_PATH_KEY="/ssl/$(hass.config.get 'keyfile')" fi +export DB_PATH +export CONFIG_PATH +export SSL_PATH_CERT +export SSL_PATH_KEY + exec node index.js