secubox-openwrt/package/secubox/secubox-app-rezapp/files/usr/share/rezapp/templates/start-lxc.tpl
CyberMind-FR 66b58c74d6 feat(catalog): Add Streamlit Forge and RezApp Forge to KISS Apps
- luci-app-streamlit-forge: Streamlit app publishing platform
  - Category: productivity, runtime: lxc
  - Templates, SSL exposure, mesh publishing

- luci-app-rezapp: Docker to LXC app converter
  - Category: system, runtime: native
  - Catalog browsing, package generation

- Updated new_releases section
- Total plugins: 37 → 39

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-11 09:44:08 +01:00

24 lines
568 B
Smarty

#!/bin/bash
# LXC startup wrapper for APPNAME
# Auto-generated by RezApp Forge from SOURCE_IMAGE
# Set UID/GID if specified
export PUID=${PUID:-UID}
export PGID=${PGID:-GID}
# Create required directories
mkdir -p /config /data /tmp
# Change to non-root user if specified
if [ "$PUID" != "0" ] && [ "$PGID" != "0" ]; then
# Create user if not exists
if ! id -u app >/dev/null 2>&1; then
addgroup -g $PGID app 2>/dev/null || true
adduser -D -u $PUID -G app app 2>/dev/null || true
fi
fi
# Execute the original entrypoint
# ENTRYPOINT_PLACEHOLDER
exec /bin/sh