From 2c12c68167d336a3bfe8f4c7b9b18658ec93bbf0 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Wed, 11 Jun 2025 17:21:49 +0200 Subject: [PATCH] Create UPDATE.sh --- version/1.4.0/UPDATE.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 version/1.4.0/UPDATE.sh diff --git a/version/1.4.0/UPDATE.sh b/version/1.4.0/UPDATE.sh new file mode 100644 index 00000000..cdcc01aa --- /dev/null +++ b/version/1.4.0/UPDATE.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +mkdir -p /etc/openpanel/openpanel/features + +wget --inet4-only -O /etc/openpanel/openpanel/features/default.txt https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/openpanel/features/default.txt +wget --inet4-only -O /etc/openpanel/openadmin/config/features.json https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/openadmin/config/features.json + +wget --inet4-only -O /etc/openpanel/caddy/templates/domain.conf_with_modsec https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/caddy/templates/domain.conf_with_modsec +wget --inet4-only -O /etc/openpanel/caddy/templates/domain.conf https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/caddy/templates/domain.conf + +wget --inet4-only -O /etc/openpanel/docker/compose/1.0/.env https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/docker/compose/1.0/.env +wget --inet4-only -O /etc/openpanel/docker/compose/1.0/docker-compose.yml https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/docker/compose/1.0/docker-compose.yml