1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-23 18:57:23 +01:00

Modify setup scripts to compatibility with Debian 12.

Expecially changed apt packages
This commit is contained in:
AiutoPcAmico
2023-12-05 21:45:43 +01:00
parent f0bdfb2a1f
commit f5e583d76d
15 changed files with 50 additions and 57 deletions

View File

@@ -26,7 +26,7 @@ if [ ! -f $1/config.php ]; then
fi
echo "Restoring backup from $1"
service php8.0-fpm stop
service php8.2-fpm stop
# remove the current ownCloud/Nextcloud installation
rm -rf /usr/local/lib/owncloud/
@@ -45,5 +45,5 @@ chown www-data:www-data $STORAGE_ROOT/owncloud/config.php
sudo -u www-data php$PHP_VER /usr/local/lib/owncloud/occ maintenance:mode --off
service php8.0-fpm start
service php8.2-fpm start
echo "Done"