Verbose debugging of s6 scripts

This commit is contained in:
Jamie Curnow 2023-05-03 16:01:27 +10:00
parent 67208e43cc
commit db4ab1d548
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E
7 changed files with 18 additions and 1 deletions

View File

@ -2,6 +2,8 @@
# shellcheck shell=bash # shellcheck shell=bash
set -e set -e
# verbose
set -x
. /bin/common.sh . /bin/common.sh

View File

@ -2,6 +2,8 @@
# shellcheck shell=bash # shellcheck shell=bash
set -e set -e
# verbose
set -x
log_info 'Configuring npmuser ...' log_info 'Configuring npmuser ...'

View File

@ -2,6 +2,8 @@
# shellcheck shell=bash # shellcheck shell=bash
set -e set -e
# verbose
set -x
log_info 'Checking paths ...' log_info 'Checking paths ...'

View File

@ -2,6 +2,8 @@
# shellcheck shell=bash # shellcheck shell=bash
set -e set -e
# verbose
set -x
log_info 'Setting ownership ...' log_info 'Setting ownership ...'

View File

@ -2,6 +2,8 @@
# shellcheck shell=bash # shellcheck shell=bash
set -e set -e
# verbose
set -x
log_info 'Dynamic resolvers ...' log_info 'Dynamic resolvers ...'

View File

@ -1,8 +1,13 @@
#!/bin/bash #!/command/with-contenv bash
# shellcheck shell=bash
# This command reads the `DISABLE_IPV6` env var and will either enable # This command reads the `DISABLE_IPV6` env var and will either enable
# or disable ipv6 in all nginx configs based on this setting. # or disable ipv6 in all nginx configs based on this setting.
set -e
# verbose
set -x
log_info 'IPv6 ...' log_info 'IPv6 ...'
# Lowercase # Lowercase

View File

@ -2,6 +2,8 @@
# shellcheck shell=bash # shellcheck shell=bash
set -e set -e
# verbose
set -x
# in s6, environmental variables are written as text files for s6 to monitor # in s6, environmental variables are written as text files for s6 to monitor
# search through full-path filenames for files ending in "__FILE" # search through full-path filenames for files ending in "__FILE"