mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 07:35:56 +02:00
test2
This commit is contained in:
@@ -3,11 +3,16 @@
|
||||
# shellcheck disable=SC2155,SC2016
|
||||
set -e
|
||||
|
||||
bashio::log.info "Starting ente..."
|
||||
exec /usr/bin/museum &
|
||||
bashio::log.info "Starting services"
|
||||
|
||||
bashio::log.info "Starting minio..."
|
||||
exec /usr/local/bin/minio server /data --address ":3200" &
|
||||
|
||||
bashio::log.info "Starting ente-web..."
|
||||
[ -n "$DISABLE_WEB_UI" ] || exec /usr/bin/ente-web
|
||||
# Loop through each directory in /etc/services.d/
|
||||
for dir in /etc/services.d/*; do
|
||||
# Check if the directory contains a 'run' file
|
||||
if [ -f "$dir/run" ]; then
|
||||
# Execute the 'run' file
|
||||
echo "Starting service in $dir"
|
||||
bash "$dir/run"
|
||||
else
|
||||
echo "No run file found in $dir"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user