From 6ad35cb21ca6dbbee42621449ef9c04efba0a77c Mon Sep 17 00:00:00 2001 From: Felix Mumme Date: Mon, 23 Dec 2024 00:53:30 +0100 Subject: [PATCH] fetch all required files from repository --- installation/install-openems.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installation/install-openems.sh b/installation/install-openems.sh index 150e489..af9d372 100644 --- a/installation/install-openems.sh +++ b/installation/install-openems.sh @@ -42,7 +42,7 @@ echo -e "${GREEN}done${NC}" echo -e "${GREEN}setting up openems system service...${NC}" # setup openems service -sudo cp openems.service /etc/systemd/system/openems.service +wget -O /etc/systemd/system/openems.service https://git.mumme-it.de/Mumme-IT/openems-build/src/branch/main/installation/openems.service # setup openems config dir sudo mkdir -p /etc/openems.d @@ -66,7 +66,7 @@ wget -O ~/openems-ui.zip https://git.mumme-it.de/Mumme-IT/openems-build/raw/bran sudo unzip -o ~/openems-ui.zip -d /var/www/openems/html sudo rm ~/openems-ui.zip -sudo cp nginx-config /etc/nginx/sites-available/openems +wget -O /etc/nginx/sites-available/openems https://git.mumme-it.de/Mumme-IT/openems-build/src/branch/main/installation/nginx-config sudo ln -sf /etc/nginx/sites-available/openems "/etc/nginx/sites-enabled/$host" if $ui_default; then