File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,6 @@ RUN touch /app/logs/cron.log
6262RUN echo '0 * * * * root php "/app/bin/cleanup" >> /app/logs/cleanup.log 2>&1' >> /etc/crontab
6363RUN echo '0 * * * * root php "/app/bin/proxy" >> /app/logs/proxy.log 2>&1' >> /etc/crontab
6464
65- # Run proxy list check
66- RUN php /app/bin/proxy
67-
6865EXPOSE 80
6966
7067ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -116,6 +116,14 @@ log_success "Cron started"
116116
117117echo -e " \n${GREEN} === Marreta initialized ===${NC} \n"
118118
119+ # Run proxy list updater
120+ log_info " Running proxy list updater..."
121+ if php /app/bin/proxy; then
122+ log_success " Proxy list updater completed successfully"
123+ else
124+ log_info " Proxy list updater finished (may not have been configured)"
125+ fi
126+
119127# Wait for any process to exit
120128wait -n
121129
You can’t perform that action at this time.
0 commit comments