mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-02 09:57:42 +01:00
Run docker mods before starting services
This commit is contained in:
@@ -190,6 +190,11 @@ if [ -d /etc/cont-init.d ]; then
|
||||
fi
|
||||
|
||||
if $PID1; then
|
||||
if [ -f /docker-mods ]; then
|
||||
echo "Running docker mods"
|
||||
/docker-mods
|
||||
fi
|
||||
|
||||
shopt -s nullglob
|
||||
for runfile in /etc/services.d/*/run /etc/s6-overlay/s6-rc.d/*/run; do
|
||||
[ -f "$runfile" ] || continue
|
||||
|
||||
Reference in New Issue
Block a user