forked from norman/fusionpbx-install.sh-github-mirror
update the switch conf and permissions
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
mv /etc/freeswitch /etc/freeswitch.orig
|
||||
mkdir /etc/freeswitch
|
||||
cp -R /var/www/fusionpbx/resources/templates/conf/* /etc/freeswitch
|
||||
mv /usr/local/freeswitch/conf /usr/local/freeswitch/conf.orig
|
||||
mkdir -p /etc/freeswitch
|
||||
mkdir -p /usr/local/freeswitch/conf
|
||||
cp -R /var/www/fusionpbx/resources/templates/conf/* /usr/local/freeswitch/conf
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#setup owner and group, permissions and sticky
|
||||
chown -R www-data:www-data /usr/local/freeswitch
|
||||
chown -R www:www /usr/local/freeswitch
|
||||
chmod -R ug+rw /usr/local/freeswitch
|
||||
touch /var/log/freeswitch/freeswitch.log
|
||||
chown -R www-data:www-data /var/log/freeswitch
|
||||
#touch /var/log/freeswitch/freeswitch.log
|
||||
#chown -R www:www /var/log/freeswitch
|
||||
find /usr/local/freeswitch -type d -exec chmod 2770 {} \;
|
||||
|
||||
Reference in New Issue
Block a user