Update package-release.sh

Add postgresql.service to start before freeswitch.
This commit is contained in:
FusionPBX 2016-05-16 20:14:47 -06:00
parent 656f2734c2
commit 4f8e48dbf7
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ apt-get install -y --force-yes freeswitch-mod-xml-cdr freeswitch-mod-verto frees
apt-get install -y --force-yes freeswitch-mod-skypopen freeswitch-mod-skypopen-dbg freeswitch-mod-sms freeswitch-mod-sms-dbg freeswitch-mod-cidlookup freeswitch-mod-memcache
apt-get install -y --force-yes freeswitch-mod-imagick freeswitch-mod-tts-commandline freeswitch-mod-directory freeswitch-mod-flite
#make sure that postgresql is started before starting freeswitch
sed -i /lib/systemd/system/freeswitch.service -e s:'local-fs.target:local-fs.target postgresql.service:'
#set the file permissions
mkdir /usr/share/freeswitch/scripts
chmod g+ws /usr/share/freeswitch/scripts