mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-11 02:53:30 +00:00
16 lines
381 B
Bash
16 lines
381 B
Bash
#!/bin/sh
|
|
|
|
php -f ./cli/prepare.php >/dev/null
|
|
|
|
if [ -n "$CRON_MIN" ]; then
|
|
(
|
|
echo "export TZ=$TZ"
|
|
echo "export COPY_LOG_TO_SYSLOG=$COPY_LOG_TO_SYSLOG"
|
|
echo "export COPY_SYSLOG_TO_STDERR=$COPY_SYSLOG_TO_STDERR"
|
|
echo "export FRESHRSS_ENV=$FRESHRSS_ENV"
|
|
) >/var/www/FreshRSS/Docker/env.txt
|
|
crontab -l | sed -r "\\#FreshRSS#s#^[^ ]+ #$CRON_MIN #" | crontab -
|
|
fi
|
|
|
|
exec "$@"
|