diff options
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/s6/crond/run | 2 | ||||
-rwxr-xr-x | docker/s6/gogs/run | 2 | ||||
-rwxr-xr-x | docker/s6/openssh/run | 2 | ||||
-rwxr-xr-x | docker/s6/syslogd/run | 2 | ||||
-rwxr-xr-x | docker/start.sh | 6 |
5 files changed, 7 insertions, 7 deletions
diff --git a/docker/s6/crond/run b/docker/s6/crond/run index ada467e1..6232dd26 100755 --- a/docker/s6/crond/run +++ b/docker/s6/crond/run @@ -3,7 +3,7 @@ # The default configuration is also calling all the scripts in /etc/periodic/${period} if test -f ./setup; then - # shellcheck disable=SC2039,SC1091 + # shellcheck disable=SC2039,SC1091,SC3046 source ./setup fi diff --git a/docker/s6/gogs/run b/docker/s6/gogs/run index 72db3f05..eae716e7 100755 --- a/docker/s6/gogs/run +++ b/docker/s6/gogs/run @@ -1,7 +1,7 @@ #!/bin/sh if test -f ./setup; then - # shellcheck disable=SC2039,SC1091 + # shellcheck disable=SC2039,SC1091,SC3046 source ./setup fi diff --git a/docker/s6/openssh/run b/docker/s6/openssh/run index d7a538dd..c293e67b 100755 --- a/docker/s6/openssh/run +++ b/docker/s6/openssh/run @@ -1,7 +1,7 @@ #!/bin/sh if test -f ./setup; then - # shellcheck disable=SC2039,SC1091 + # shellcheck disable=SC2039,SC1091,SC3046 source ./setup fi diff --git a/docker/s6/syslogd/run b/docker/s6/syslogd/run index 5c3bbefb..de605fce 100755 --- a/docker/s6/syslogd/run +++ b/docker/s6/syslogd/run @@ -1,7 +1,7 @@ #!/bin/sh if test -f ./setup; then - # shellcheck disable=SC2039,SC1091 + # shellcheck disable=SC2039,SC1091,SC3046 source ./setup fi diff --git a/docker/start.sh b/docker/start.sh index e10feb20..b37acfe2 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -12,7 +12,7 @@ create_socat_links() { SERV_FOLDER=/app/gogs/docker/s6/SOCAT_${NAME}_${PORT} mkdir -p "${SERV_FOLDER}" CMD="socat -ls TCP4-LISTEN:${PORT},fork,reuseaddr TCP4:${ADDR}:${PORT}" - # shellcheck disable=SC2039 + # shellcheck disable=SC2039,SC3037 echo -e "#!/bin/sh\nexec $CMD" > "${SERV_FOLDER}"/run chmod +x "${SERV_FOLDER}"/run USED_PORT="${USED_PORT}:${PORT}" @@ -24,7 +24,7 @@ EOT } cleanup() { - # Cleanup SOCAT services and s6 event folder + # Cleanup SOCAT services and s6 event folder # On start and on shutdown in case container has been killed rm -rf "$(find /app/gogs/docker/s6/ -name 'event')" rm -rf /app/gogs/docker/s6/SOCAT_* @@ -67,7 +67,7 @@ if [ "$CROND" = "true" ] || [ "$CROND" = "1" ]; then rm -f /app/gogs/docker/s6/crond/down /bin/sh /app/gogs/docker/runtime/backup-init.sh "${PUID}" else - # Tell s6 not to run the crond service + # Tell s6 not to run the crond service touch /app/gogs/docker/s6/crond/down fi |