Merge pull request #6 from DigiDaz/master
Create scripts directory and fix starting of freeswitch
This commit is contained in:
commit
656f2734c2
|
|
@ -20,6 +20,7 @@ resources/./fail2ban.sh
|
|||
resources/switch/./package-release.sh
|
||||
#resources/switch/./package-master.sh
|
||||
#resources/switch/./source-release.sh
|
||||
systemctl try-restart freeswitch
|
||||
|
||||
#Postgres
|
||||
resources/./postgres.sh
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
#set the file permissions
|
||||
mkdir /usr/share/freeswitch/scripts
|
||||
chmod g+ws /usr/share/freeswitch/scripts
|
||||
|
||||
chown -R freeswitch:freeswitch /var/lib/freeswitch
|
||||
chmod -R g+s /var/lib/freeswitch
|
||||
setfacl -R -m u:www-data:rwx,g:www-data:rwx /var/lib/freeswitch
|
||||
|
|
|
|||
Loading…
Reference in New Issue