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