- 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>
24 lines
568 B
Smarty
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
|