mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-07 16:15:55 +02:00
test2
This commit is contained in:
13
ente/rootfs/etc/services.d/01-museum/run
Normal file
13
ente/rootfs/etc/services.d/01-museum/run
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
set -e
|
||||
|
||||
CONFIG_FILE="/config/museum.yaml"
|
||||
|
||||
# Safety: refuse to start if the config file is missing
|
||||
if [[ ! -f "$CONFIG_FILE" ]]; then
|
||||
echo "[museum] ERROR: $CONFIG_FILE not found" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Exec so that S6 can reap the PID
|
||||
exec /usr/bin/museum --config "$CONFIG_FILE"
|
||||
3
ente/rootfs/etc/services.d/02-minio/run
Normal file
3
ente/rootfs/etc/services.d/02-minio/run
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
set -e
|
||||
exec /usr/local/bin/minio server /data --address ":3200"
|
||||
4
ente/rootfs/etc/services.d/03-web/run
Normal file
4
ente/rootfs/etc/services.d/03-web/run
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
set -e
|
||||
[[ "${DISABLE_WEB_UI,,}" == "true" ]] && exit 0
|
||||
exec /usr/bin/ente-web
|
||||
Reference in New Issue
Block a user