From e82f9f8009f4a9751b47f0abedeb62700416dcee Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 Apr 2026 00:16:37 +0000 Subject: [PATCH] Ubuntu 26.04 Release --- build/raccoon.sh | 6 +++--- build/trixie.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build/raccoon.sh b/build/raccoon.sh index d8eb379..30f63ae 100644 --- a/build/raccoon.sh +++ b/build/raccoon.sh @@ -355,14 +355,14 @@ function post_build() { curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/nginx/live/default > /nginx/live/default mkdir -p /hostdata/default/public_html/ && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/index.html > /hostdata/default/public_html/index.html mkdir -p /hostdata/default/public_html/cdn/modsec && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/modsec/aes.min.js > /hostdata/default/public_html/cdn/modsec/aes.min.js + SRC_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" + install -m 0644 "${SRC_DIR}/static/Raccoon/nginx.service" /etc/systemd/system/nginx.service if [ -f "/run/.containerenv" ] || [ -f "/.dockerenv" ] || [ -f "/home/runner/.dockerenv" ]; then echo "Skipping systemctl commands on GitHub runner" mkdir -p /etc/systemd/system/ - curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/Raccoon/nginx.service > /etc/systemd/system/nginx.service else - curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/Raccoon/nginx.service > /etc/systemd/system/nginx.service systemctl daemon-reload - systemctl start nginx.service + systemctl restart nginx.service systemctl enable nginx.service fi } diff --git a/build/trixie.sh b/build/trixie.sh index 3415a90..d3f246d 100644 --- a/build/trixie.sh +++ b/build/trixie.sh @@ -355,14 +355,14 @@ function post_build() { curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/nginx/live/default > /nginx/live/default mkdir -p /hostdata/default/public_html/ && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/index.html > /hostdata/default/public_html/index.html mkdir -p /hostdata/default/public_html/cdn/modsec && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/modsec/aes.min.js > /hostdata/default/public_html/cdn/modsec/aes.min.js + SRC_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" + install -m 0644 "${SRC_DIR}/static/Trixie/nginx.service" /etc/systemd/system/nginx.service if [ -f "/run/.containerenv" ] || [ -f "/.dockerenv" ] || [ -f "/home/runner/.dockerenv" ]; then echo "Skipping systemctl commands on GitHub runner" mkdir -p /etc/systemd/system/ - curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/Trixie/nginx.service > /etc/systemd/system/nginx.service else - curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/Trixie/nginx.service > /etc/systemd/system/nginx.service systemctl daemon-reload - systemctl start nginx.service + systemctl restart nginx.service systemctl enable nginx.service fi }