forked from norman/fusionpbx-install.sh-github-mirror
Fixes to allow deployment on FreeBSD 14 (#415)
* Changing default domain name to hostname, setting default PostgreSQL version to 15 * Adding support for PostgreSQL 14 and 15 * Correcting user and group options for freeswitch runtime * Copying missing resources/fail2ban/freeswitch-dos.conf from debian dir, adding missing copy of sip-auth-challenge-ip.conf and sip-auth-challenge.conf, setting default setting for allowipv6 directive * Remove freeswitch database and user Reason for this change is if FreeSWITCH uses the PostgreSQL then its a good idea for it to use its own instance. This is to prevent blocking FreeSWITCH from accessing the database if there is a long running Query on the FusionPBX database * Changing default domain name to hostname, setting default PostgreSQL version to 15 * Adding support for PostgreSQL 14 and 15 * Correcting user and group options for freeswitch runtime * Copying missing resources/fail2ban/freeswitch-dos.conf from debian dir, adding missing copy of sip-auth-challenge-ip.conf and sip-auth-challenge.conf, setting default setting for allowipv6 directive --------- Co-authored-by: Charlie Root <root@sjcacs-test.gadallah.net>
This commit is contained in:
@@ -7,7 +7,7 @@ cd "$(dirname "$0")"
|
||||
. ../config.sh
|
||||
|
||||
#install dependencies
|
||||
pkg install --yes tiff ghostscript9-base memcached sox
|
||||
pkg install --yes tiff ghostscript10-10.02.1 memcached sox
|
||||
|
||||
#set the current working directory
|
||||
cwd=$(pwd)
|
||||
@@ -35,8 +35,8 @@ cd $cwd
|
||||
echo 'memcached_enable="YES"' >> /etc/rc.conf
|
||||
echo 'freeswitch_enable="YES"' >> /etc/rc.conf
|
||||
echo 'freeswitch_flags="-nonat"' >> /etc/rc.conf
|
||||
echo 'freeswitch_user="www"' >> /etc/rc.conf
|
||||
echo 'freeswitch_group="www"' >> /etc/rc.conf
|
||||
echo 'freeswitch_username="www"' >> /etc/rc.conf
|
||||
echo 'freeswitch_groupname="www"' >> /etc/rc.conf
|
||||
|
||||
#start the service
|
||||
service memcached start
|
||||
|
||||
Reference in New Issue
Block a user