mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-23 08:01:00 +00:00
Origin: renovate PR #4511\n\n- update simplexchat/smp-server to v7.0.0\n- remove the obsolete HTTP info-page override and keep the SMP relay port\n- source runtime path variables in lifecycle scripts\n- delete legacy stats logs during 6.5.x -> 7.0.0 upgrade to avoid v7 startup failure
14 lines
249 B
Bash
Executable File
14 lines
249 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
if [[ -f ./.env ]]; then
|
|
set -a
|
|
# shellcheck disable=SC1091
|
|
source ./.env
|
|
set +a
|
|
fi
|
|
|
|
CONFIG_DIR="${APP_CONFIG_DIR:-./data/config}"
|
|
STATE_DIR="${APP_STATE_DIR:-./data/state}"
|
|
mkdir -p "$CONFIG_DIR" "$STATE_DIR"
|