s
This commit is contained in:
@@ -460,6 +460,24 @@ normalize_repo_root() {
|
||||
WEBTTY_SHELL="$ROOT_DIR/scripts/linux/webtty_shell.sh"
|
||||
}
|
||||
|
||||
ensure_runtime_dirs_owned_by_live() {
|
||||
local rel path
|
||||
for rel in \
|
||||
config \
|
||||
logs \
|
||||
downloads \
|
||||
backup \
|
||||
backup_config \
|
||||
.pm2 \
|
||||
.process_runner \
|
||||
services/neko/data
|
||||
do
|
||||
path="$ROOT_DIR/$rel"
|
||||
mkdir -p "$path"
|
||||
chown -R live:live "$path" 2>/dev/null || true
|
||||
done
|
||||
}
|
||||
|
||||
install_base_packages() {
|
||||
log "Installing base packages"
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
Reference in New Issue
Block a user