added extra_scripts.sh before ckan starts
This commit is contained in:
parent
42d17a659d
commit
1d4d2759a1
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# this is called before uwsgi is executed
|
||||||
|
# uset his to add extra scripts before ckan is started
|
|
@ -8,6 +8,7 @@ UWSGI_OPTS="--plugins http,python,gevent --socket /tmp/uwsgi.sock --uid 92 --gid
|
||||||
# Check whether http basic auth password protection is enabled and enable basicauth routing on uwsgi respecfully
|
# Check whether http basic auth password protection is enabled and enable basicauth routing on uwsgi respecfully
|
||||||
if [ $? -eq 0 ]
|
if [ $? -eq 0 ]
|
||||||
then
|
then
|
||||||
|
extra_scripts.sh
|
||||||
if [ "$PASSWORD_PROTECT" = true ]
|
if [ "$PASSWORD_PROTECT" = true ]
|
||||||
then
|
then
|
||||||
if [ "$HTPASSWD_USER" ] || [ "$HTPASSWD_PASSWORD" ]
|
if [ "$HTPASSWD_USER" ] || [ "$HTPASSWD_PASSWORD" ]
|
||||||
|
|
Loading…
Reference in New Issue