Create UPDATE.sh

This commit is contained in:
Stefan Pejcic
2025-06-06 14:48:40 +02:00
committed by GitHub
parent 65b81a3c24
commit 223c0183a9

12
version/1.3.8/UPDATE.sh Normal file
View File

@@ -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