We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a29fb commit 5300472Copy full SHA for 5300472
run.sh
@@ -79,7 +79,7 @@ if [ "$1" = "run" ]; then
79
chown postgres:postgres /var/lib/postgresql -R
80
81
# Configure Apache CORS
82
- if [ "$ALLOW_CORS" == "enabled" ]; then
+ if [ "$ALLOW_CORS" == "enabled" ] || [ "$ALLOW_CORS" == "1" ]; then
83
echo "export APACHE_ARGUMENTS='-D ALLOW_CORS'" >> /etc/apache2/envvars
84
fi
85
@@ -93,7 +93,7 @@ if [ "$1" = "run" ]; then
93
sed -i -E "s/num_threads=[0-9]+/num_threads=${THREADS:-4}/g" /usr/local/etc/renderd.conf
94
95
# start cron job to trigger consecutive updates
96
- if [ "$UPDATES" = "enabled" ]; then
+ if [ "$UPDATES" = "enabled" ] || [ "$UPDATES" = "1" ]; then
97
/etc/init.d/cron start
98
99
0 commit comments