Update package-master-all.sh

This commit is contained in:
FusionPBX 2016-08-16 13:42:50 -06:00 committed by GitHub
parent bc9eb8e3cf
commit 66bebd98fe
1 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
#!/bin/sh
apt-get update && apt-get install -y --force-yes curl memcached haveged
apt-get update && apt-get install -y --force-yes ntp curl memcached haveged
curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add -
echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
echo "deb http://files.freeswitch.org/repo/deb/debian-unstable/ jessie main" >> /etc/apt/sources.list.d/freeswitch.list
apt-get update && apt-get install -y --force-yes freeswitch-meta-all freeswitch-all-dbg gdb
#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:'
#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:'