diff --git a/omni-tools/config.json b/omni-tools/config.json index b0166630d..95180fcb0 100644 --- a/omni-tools/config.json +++ b/omni-tools/config.json @@ -5,48 +5,18 @@ ], "codenotary": "alexandrep.github@gmail.com", "description": "Self-hosted web application offering various online utilities for everyday tasks", - "environment": { - "PGID": "0", - "PUID": "0" - }, - "hassio_api": true, - "homeassistant_api": true, "image": "ghcr.io/alexbelgium/omni-tools-{arch}", - "ingress": true, - "ingress_stream": true, "map": [ - "addon_config:rw", - "share:rw" + "addon_config:rw" ], "name": "Omni Tools", - "options": { - "PGID": "0", - "PUID": "0" - }, - "panel_admin": false, - "panel_icon": "mdi:toolbox", "ports": { "80/tcp": 8188 }, "ports_description": { "80/tcp": "Web UI port" }, - "privileged": [ - "SYS_ADMIN", - "DAC_READ_SEARCH" - ], - "schema": { - "PGID": "int?", - "PUID": "int?", - "TZ": "str?", - "cifsdomain": "str?", - "cifspassword": "str?", - "cifsusername": "str?", - "localdisks": "str?", - "networkdisks": "str?" - }, "slug": "omni-tools", - "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", "version": "0.5.0" } \ No newline at end of file diff --git a/omni-tools/rootfs/etc/cont-init.d/99-run.sh b/omni-tools/rootfs/etc/cont-init.d/99-run.sh index adaca208c..9acc5caf5 100755 --- a/omni-tools/rootfs/etc/cont-init.d/99-run.sh +++ b/omni-tools/rootfs/etc/cont-init.d/99-run.sh @@ -7,11 +7,4 @@ # Start omni-tools container content bashio::log.info "Starting application" -/./docker-entrypoint.sh & true - -# Wait for app to become available -bashio::net.wait_for 8096 localhost 900 - -# Start nginx -bashio::log.info "Starting NGinx..." -exec nginx &>/proc/1/fd/1 +/./docker-entrypoint.sh "nginx -g daemon" &>/proc/1/fd/1