update the switch conf and permissions
This commit is contained in:
parent
0e8f0aa7e5
commit
bc1dcdeab9
|
|
@ -1,3 +1,4 @@
|
||||||
mv /etc/freeswitch /etc/freeswitch.orig
|
mv /usr/local/freeswitch/conf /usr/local/freeswitch/conf.orig
|
||||||
mkdir /etc/freeswitch
|
mkdir -p /etc/freeswitch
|
||||||
cp -R /var/www/fusionpbx/resources/templates/conf/* /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
|
#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
|
chmod -R ug+rw /usr/local/freeswitch
|
||||||
touch /var/log/freeswitch/freeswitch.log
|
#touch /var/log/freeswitch/freeswitch.log
|
||||||
chown -R www-data:www-data /var/log/freeswitch
|
#chown -R www:www /var/log/freeswitch
|
||||||
find /usr/local/freeswitch -type d -exec chmod 2770 {} \;
|
find /usr/local/freeswitch -type d -exec chmod 2770 {} \;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue