Update nextcloudpi-install.sh

set `memory_limit = 512M`
This commit is contained in:
tteckster 2023-04-18 10:53:30 -04:00 committed by GitHub
parent c44ab752e4
commit bd7c1ee7db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,7 @@ msg_info "Installing NextCloudPi (Patience)"
$STD bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh) $STD bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh)
sed -i "s/3 => 'nextcloudpi.lan',/3 => '0.0.0.0',/g" /var/www/nextcloud/config/config.php sed -i "s/3 => 'nextcloudpi.lan',/3 => '0.0.0.0',/g" /var/www/nextcloud/config/config.php
sed -i '{s|root:/usr/sbin/nologin|root:/bin/bash|g}' /etc/passwd sed -i '{s|root:/usr/sbin/nologin|root:/bin/bash|g}' /etc/passwd
sed -i 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.1/fpm/php.ini /etc/php/8.1/cli/php.ini
service apache2 restart service apache2 restart
msg_ok "Installed NextCloudPi" msg_ok "Installed NextCloudPi"