diff --git a/debian/install.sh b/debian/install.sh index 5944f5e..555a00b 100644 --- a/debian/install.sh +++ b/debian/install.sh @@ -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 diff --git a/debian/resources/switch/package-release.sh b/debian/resources/switch/package-release.sh index 88fe529..bdb90b0 100644 --- a/debian/resources/switch/package-release.sh +++ b/debian/resources/switch/package-release.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