|
@@ -3,7 +3,7 @@
|
|
set -eu
|
|
set -eu
|
|
|
|
|
|
readonly WP="/app/code/wp --allow-root"
|
|
readonly WP="/app/code/wp --allow-root"
|
|
-
|
|
|
|
|
|
+
|
|
mkdir -p /run/wordpress/sessions
|
|
mkdir -p /run/wordpress/sessions
|
|
|
|
|
|
# Detect the wordpress prefix from existing database. This is a bit of a hack because some wordpress plugins
|
|
# Detect the wordpress prefix from existing database. This is a bit of a hack because some wordpress plugins
|
|
@@ -165,7 +165,7 @@ EOF
|
|
$WP --format=json option update authLDAPOptions "${ldapConfig}"
|
|
$WP --format=json option update authLDAPOptions "${ldapConfig}"
|
|
fi
|
|
fi
|
|
|
|
|
|
-chown -R cloudron:cloudron /app/data /run/wordpress
|
|
|
|
|
|
+chown -R www-data:www-data /app/data /run/wordpress
|
|
|
|
|
|
echo "Starting apache"
|
|
echo "Starting apache"
|
|
APACHE_CONFDIR="" source /etc/apache2/envvars
|
|
APACHE_CONFDIR="" source /etc/apache2/envvars
|