Skip to content

Commit

Permalink
fix: Update docker-entrypoint.sh to start chaturbate_poller by default
Browse files Browse the repository at this point in the history
  • Loading branch information
MountainGod2 committed Nov 1, 2024
1 parent d18770a commit 22dd9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e

# If the first argument is a flag (starts with '-') or is empty, assume the default command is `chaturbate_poller`
if [ "${1#-}" != "$1" ] || [ -z "$1" ]; then
set -- python3 -m chaturbate_poller "$@"
set -- python3 -m chaturbate_poller start "$@"
fi

# Print the command to the console and execute it with the arguments passed to the entrypoint
Expand Down

0 comments on commit 22dd9d6

Please sign in to comment.