From 33e4aeea6a3f57a218fa724293d84a7a4708cb3d Mon Sep 17 00:00:00 2001 From: casjay Date: Mon, 17 Oct 2022 11:57:03 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rootfs/usr/local/bin/entrypoint-code.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/usr/local/bin/entrypoint-code.sh b/rootfs/usr/local/bin/entrypoint-code.sh index 1ee05ff..3f61aec 100755 --- a/rootfs/usr/local/bin/entrypoint-code.sh +++ b/rootfs/usr/local/bin/entrypoint-code.sh @@ -46,7 +46,7 @@ __curl() { curl -q -LSsf -o /dev/null -s -w "200" "$@" 2>/dev/null || return 10; __certbot() { [ -n "$SSL_CERT_BOT" ] && type -P certbot &>/dev/null || { export SSL_CERT_BOT="" && return 10; } certbot certonly --webroot -w "${WWW_ROOT_DIR:-/data/htdocs/www}" -d $DOMANNAME -d $DOMANNAME \ - --put-all-related-files-into "$SSL_DIR" –key-path "$SSL_KEY" –fullchain-path "$SSL_CERT" + --put-all-related-files-into "$SSL_DIR" -key-path "$SSL_KEY" -fullchain-path "$SSL_CERT" } # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - __heath_check() { @@ -117,7 +117,7 @@ if [ -n "$DOMANNAME" ]; then fi # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Create files -sudo mkdir -p "/config" "/data" && chown -Rf x11user:x11user "/config" "/data" +sudo mkdir -p "/config" "/data" && sudo chown -Rf x11user:x11user "/config" "/data" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - if [ -d "/config/vscode" ]; then rm -Rf "$HOME/.vscode" && ln -sf "/config/vscode" "$HOME/.vscode"