blob: e71cb97459b19a44a2a32768bc979a937efda730 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/bash
. /usr/share/debconf/confmodule
chown -R www-data.www-data /var/www/boca
chmod -R go-rwx /var/www/boca/src/private
a2ensite default-ssl
a2enmod ssl
a2enmod socache_shmcb
a2enmod proxy_fcgi
# Make sure embedded apache php module is not loaded
a2dismod php7.4 || true
#enable php fpm instead
a2enconf php7.4-fpm
service apache2 restart || true
#remember to reset possible stored password from debconf
db_reset boca-common/dbpassword || true
exit 0
|