Files
hassio-addons/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh

8 lines
234 B
Bash

#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
if [ -f /config/addons_config/nextcloud/*.sh ]; then
bashio::log.info "Scripts found in /config/addons_config/nextcloud, executing"
bash /config/addons_config/nextcloud/*.sh
fi