[Hotfix]Jotty: use absolute path when creating data dir (#14355)

This commit is contained in:
Chris
2026-05-09 02:02:03 -04:00
committed by GitHub
parent e39ce3285f
commit c09ac3fb31

View File

@@ -17,7 +17,7 @@ NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
fetch_and_deploy_gh_release "jotty" "fccview/jotty" "prebuild" "latest" "/opt/jotty" "jotty_*_prebuild.tar.gz"
msg_info "Setup jotty"
mkdir -p data/{users,checklists,notes}
mkdir -p /opt/jotty/data/{users,checklists,notes}
cat <<EOF >/opt/jotty/.env
NODE_ENV=production