mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
update
This commit is contained in:
@@ -96,7 +96,8 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
|
|||||||
# Entrypoint modifications
|
# Entrypoint modifications
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
|
||||||
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
|
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
|
||||||
RUN sed -i "s|/usr/bin/with-contenv|/usr/bin/env|g" /etc/cont-init.d/*
|
RUN sed -i "s|/usr/bin/with-contenv|/usr/bin/env|g" /etc/cont-init.d/* && \
|
||||||
|
sed -i "s|/usr/bin/with-contenv|/usr/bin/env|g" /etc/services.d/*/run
|
||||||
|
|
||||||
#WORKDIR /data
|
#WORKDIR /data
|
||||||
ENTRYPOINT [ "/usr/bin/env" ]
|
ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
|
|||||||
@@ -100,6 +100,6 @@
|
|||||||
"slug": "guacamole",
|
"slug": "guacamole",
|
||||||
"udev": true,
|
"udev": true,
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||||
"version": "1.6.0-test5",
|
"version": "1.6.0-test6",
|
||||||
"video": true
|
"video": true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
for files in /etc/services.d/*; do
|
||||||
|
if [[ -f /etc/services.d/$files/run ]]; then
|
||||||
|
chmod +x /etc/services.d/$files/run
|
||||||
|
/./etc/services.d/$files/run & sleep 10
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Use /bin/bash shebang because we don't want the container environment in here
|
|
||||||
|
|
||||||
# Version 1
|
|
||||||
# 2024-10-18 - Initial Release
|
|
||||||
WITHCONTENV_VER="1.20241018"
|
|
||||||
|
|
||||||
if [[ -f /run/s6/container_environment/UMASK ]] &&
|
|
||||||
{ [[ "$(pwdx $$)" =~ "/run/s6/legacy-services/" ]] ||
|
|
||||||
[[ "$(pwdx $$)" =~ "/run/s6/services/" ]] ||
|
|
||||||
[[ "$(pwdx $$)" =~ "/servicedirs/svc-" ]]; }; then
|
|
||||||
umask "$(cat /run/s6/container_environment/UMASK)"
|
|
||||||
fi
|
|
||||||
exec /command/with-contenv "$@"
|
|
||||||
Reference in New Issue
Block a user