Merge pull request #6 from DigiDaz/master

Create scripts directory and fix starting of freeswitch
This commit is contained in:
FusionPBX 2016-05-16 19:17:46 -06:00
commit 656f2734c2
2 changed files with 4 additions and 0 deletions

1
debian/install.sh vendored
View File

@ -20,6 +20,7 @@ resources/./fail2ban.sh
resources/switch/./package-release.sh resources/switch/./package-release.sh
#resources/switch/./package-master.sh #resources/switch/./package-master.sh
#resources/switch/./source-release.sh #resources/switch/./source-release.sh
systemctl try-restart freeswitch
#Postgres #Postgres
resources/./postgres.sh resources/./postgres.sh

View File

@ -22,6 +22,9 @@ apt-get install -y --force-yes freeswitch-mod-skypopen freeswitch-mod-skypopen-d
apt-get install -y --force-yes freeswitch-mod-imagick freeswitch-mod-tts-commandline freeswitch-mod-directory freeswitch-mod-flite apt-get install -y --force-yes freeswitch-mod-imagick freeswitch-mod-tts-commandline freeswitch-mod-directory freeswitch-mod-flite
#set the file permissions #set the file permissions
mkdir /usr/share/freeswitch/scripts
chmod g+ws /usr/share/freeswitch/scripts
chown -R freeswitch:freeswitch /var/lib/freeswitch chown -R freeswitch:freeswitch /var/lib/freeswitch
chmod -R g+s /var/lib/freeswitch chmod -R g+s /var/lib/freeswitch
setfacl -R -m u:www-data:rwx,g:www-data:rwx /var/lib/freeswitch setfacl -R -m u:www-data:rwx,g:www-data:rwx /var/lib/freeswitch