Implement s6 maxtime

This commit is contained in:
Alexandre
2022-06-14 07:53:07 +02:00
parent 6ed3562cee
commit 224940b248
67 changed files with 268 additions and 4 deletions

View File

@@ -23,6 +23,10 @@ FROM tritruongtr/zoneminder:latest
# 2 Modify Image #
##################
# Set S6 wait time
ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=10000
# Change config location
# hadolint ignore=DL4006
RUN sed -i 's|/etc/zm.conf|/config/addons_config/zoneminder/zm.conf|g' /usr/local/bin/entrypoint.sh \