style
This commit is contained in:
parent
3947d62faf
commit
87f9c4f33f
4
start.sh
4
start.sh
|
@ -14,7 +14,7 @@ if ! [ -f /app/data/.installed ]; then
|
|||
--db-base "${CLOUDRON_MYSQL_DATABASE}" --db-prefix "" \
|
||||
--disable_update
|
||||
|
||||
if [ -z "${CLOUDRON_OIDC_ISSUER:-}" ]; then
|
||||
if [[ -z "${CLOUDRON_OIDC_ISSUER:-}" ]]; then
|
||||
php cli/create-user.php --user admin --password changeme --language en
|
||||
fi
|
||||
|
||||
|
@ -63,4 +63,4 @@ chown -R www-data.www-data /run/php /app/data /tmp/log_api.txt
|
|||
echo "==> Starting apache"
|
||||
APACHE_CONFDIR="" source /etc/apache2/envvars
|
||||
rm -f "${APACHE_PID_FILE}"
|
||||
exec /usr/sbin/apache2 -D FOREGROUND $([ -n "$CLOUDRON_OIDC_ISSUER" ] && echo '-D OIDC_ENABLED')
|
||||
exec /usr/sbin/apache2 -D FOREGROUND $([[ -n "$CLOUDRON_OIDC_ISSUER" ]] && echo '-D OIDC_ENABLED')
|
||||
|
|
Loading…
Reference in New Issue