Skip to content

Commit

Permalink
Merge pull request #1479 from RotherOSS/issue-#1478-not_zero_lenght_b…
Browse files Browse the repository at this point in the history
…ut_zero

Issue #1478: explicitly consider $OTOBO_SYNC_WITH_S3=0
  • Loading branch information
bschmalhofer authored Dec 4, 2021
2 parents fdc4eda + 94177b0 commit 1f0adf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function exec_web() {

# For production use Gazelle, which is implemented in C
# The special loader Plack::Loader::SyncWithS3 checks for updates in S3
if [[ -z "${OTOBO_SYNC_WITH_S3}" ]]; then
if [[ -z "$OTOBO_SYNC_WITH_S3" || "$OTOBO_SYNC_WITH_S3" -eq "0" ]]; then
exec plackup --server Gazelle --env deployment --port 5000 bin/psgi-bin/otobo.psgi
else
exec plackup --server Gazelle --env deployment --port 5000 -I /opt/otobo -I /opt/otobo/Kernel/cpan-lib --loader SyncWithS3 bin/psgi-bin/otobo.psgi
Expand Down

0 comments on commit 1f0adf9

Please sign in to comment.