mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-09 22:52:30 +02:00
aurral: delete dead s6 run script (plain Node image, no s6)
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================
|
||||
# Start Aurral with configuration from HA add-on options.
|
||||
# ==============================================================
|
||||
|
||||
DOWNLOAD_FOLDER=$(bashio::config 'download_folder')
|
||||
|
||||
# Ensure persistent directories exist
|
||||
mkdir -p "${DOWNLOAD_FOLDER}"
|
||||
mkdir -p "${DOWNLOAD_FOLDER}/weekly-flow"
|
||||
mkdir -p /config/data
|
||||
mkdir -p /config/data/image-proxy
|
||||
mkdir -p /app/backend/data
|
||||
|
||||
# Redirect image-proxy into persistent storage
|
||||
ln -sfn /config/data/image-proxy /app/backend/data/image-proxy
|
||||
|
||||
bashio::log.info "Starting Aurral"
|
||||
bashio::log.info " Data : /config/data (HA addon_config)"
|
||||
bashio::log.info " Downloads : ${DOWNLOAD_FOLDER}"
|
||||
|
||||
export PUID=0
|
||||
export PGID=0
|
||||
export AURRAL_DATA_DIR="/config/data"
|
||||
export DOWNLOAD_FOLDER="${DOWNLOAD_FOLDER}"
|
||||
export WEEKLY_FLOW_FOLDER="${DOWNLOAD_FOLDER}/weekly-flow"
|
||||
|
||||
exec node /app/server.js
|
||||
Reference in New Issue
Block a user