From b87904be18166ee90d6310a0f402d670ff6c8245 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 29 Jul 2017 13:53:46 -0600 Subject: [PATCH] Update source-systemd.sh --- debian/resources/switch/source-systemd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/resources/switch/source-systemd.sh b/debian/resources/switch/source-systemd.sh index 82fce39..8770a6a 100755 --- a/debian/resources/switch/source-systemd.sh +++ b/debian/resources/switch/source-systemd.sh @@ -2,7 +2,7 @@ cp "$(dirname $0)/source/freeswitch.service.source" /lib/systemd/system/freeswit cp "$(dirname $0)/source/etc.default.freeswitch.source" /etc/default/freeswitch if [ -e /proc/user_beancounters ] then - echo "Oh, your on OpenVZ! Setting a CPU Scheduler isn't possible :(" + #Disable CPU Scheduler for OpenVZ, not supported on OpenVZ." sed -i -e "s/CPUSchedulingPolicy=rr/;CPUSchedulingPolicy=rr/g" /lib/systemd/system/freeswitch.service fi systemctl enable freeswitch