mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-23 04:57:33 +01:00
17 lines
254 B
Bash
Executable File
17 lines
254 B
Bash
Executable File
#!/usr/bin/with-contenv bashio
|
|
# shellcheck shell=bash
|
|
set -e
|
|
|
|
rm -r /app/config
|
|
ln -sf /config /app/config
|
|
|
|
chown -R "$PUID:$PGID" /config || true
|
|
|
|
cd /app || true
|
|
|
|
bashio::log.info "Starting NGinx..."
|
|
nginx &
|
|
|
|
bashio::log.info "Starting app"
|
|
npm start
|