Skip to content

Commit

Permalink
fix(supercronic)!: shellcheck disable=SC2086
Browse files Browse the repository at this point in the history
  • Loading branch information
frugan-dev committed Aug 18, 2024
1 parent 9c78009 commit f25277b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion 8.0/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ fi
#https://github.com/aptible/supercronic

if [[ "${PHP_SUPERCRONIC_ENABLED,,}" =~ ^(yes|true|1)$ && -f "/etc/crontab" ]]; then
/usr/local/bin/supercronic "${PHP_SUPERCRONIC_FLAGS:-}" /etc/crontab &
# shellcheck disable=SC2086
/usr/local/bin/supercronic ${PHP_SUPERCRONIC_FLAGS:-} /etc/crontab &
fi

#### newrelic
Expand Down
3 changes: 2 additions & 1 deletion 8.1/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ fi
#https://github.com/aptible/supercronic

if [[ "${PHP_SUPERCRONIC_ENABLED,,}" =~ ^(yes|true|1)$ && -f "/etc/crontab" ]]; then
/usr/local/bin/supercronic "${PHP_SUPERCRONIC_FLAGS:-}" /etc/crontab &
# shellcheck disable=SC2086
/usr/local/bin/supercronic ${PHP_SUPERCRONIC_FLAGS:-} /etc/crontab &
fi

#### newrelic
Expand Down
3 changes: 2 additions & 1 deletion 8.2/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ fi
#https://github.com/aptible/supercronic

if [[ "${PHP_SUPERCRONIC_ENABLED,,}" =~ ^(yes|true|1)$ && -f "/etc/crontab" ]]; then
/usr/local/bin/supercronic "${PHP_SUPERCRONIC_FLAGS:-}" /etc/crontab &
# shellcheck disable=SC2086
/usr/local/bin/supercronic ${PHP_SUPERCRONIC_FLAGS:-} /etc/crontab &
fi

#### newrelic
Expand Down
3 changes: 2 additions & 1 deletion 8.3/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ fi
#https://github.com/aptible/supercronic

if [[ "${PHP_SUPERCRONIC_ENABLED,,}" =~ ^(yes|true|1)$ && -f "/etc/crontab" ]]; then
/usr/local/bin/supercronic "${PHP_SUPERCRONIC_FLAGS:-}" /etc/crontab &
# shellcheck disable=SC2086
/usr/local/bin/supercronic ${PHP_SUPERCRONIC_FLAGS:-} /etc/crontab &
fi

#### newrelic
Expand Down
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ fi
#https://github.com/aptible/supercronic

if [[ "${PHP_SUPERCRONIC_ENABLED,,}" =~ ^(yes|true|1)$ && -f "/etc/crontab" ]]; then
/usr/local/bin/supercronic "${PHP_SUPERCRONIC_FLAGS:-}" /etc/crontab &
# shellcheck disable=SC2086
/usr/local/bin/supercronic ${PHP_SUPERCRONIC_FLAGS:-} /etc/crontab &
fi

#### newrelic
Expand Down

0 comments on commit f25277b

Please sign in to comment.