|
@@ -9,7 +9,7 @@ cd "$(dirname "$0")"
|
|
. ../environment.sh
|
|
. ../environment.sh
|
|
. ../arguments.sh
|
|
. ../arguments.sh
|
|
|
|
|
|
-apt-get update && apt-get install -y --force-yes ntp curl memcached haveged
|
|
|
|
|
|
+apt-get update && apt-get install -y ntp curl memcached haveged
|
|
|
|
|
|
if [ ."$cpu_architecture" = ."arm" ]; then
|
|
if [ ."$cpu_architecture" = ."arm" ]; then
|
|
echo "deb http://repo.sip247.com/debian/freeswitch-stable-armhf/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
|
|
echo "deb http://repo.sip247.com/debian/freeswitch-stable-armhf/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
|
|
@@ -18,7 +18,7 @@ else
|
|
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/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
|
|
curl http://files.freeswitch.org/repo/deb/freeswitch-1.6/key.gpg | apt-key add -
|
|
curl http://files.freeswitch.org/repo/deb/freeswitch-1.6/key.gpg | apt-key add -
|
|
fi
|
|
fi
|
|
-apt-get update && apt-get install -y --force-yes freeswitch-meta-all freeswitch-all-dbg gdb
|
|
|
|
|
|
+apt-get update && apt-get install -y freeswitch-meta-all freeswitch-all-dbg gdb
|
|
|
|
|
|
#make sure that postgresql is started before starting freeswitch
|
|
#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:'
|
|
sed -i /lib/systemd/system/freeswitch.service -e s:'local-fs.target:local-fs.target postgresql.service:'
|