diff --git a/debian/resources/switch/package-systemd.sh b/debian/resources/switch/package-systemd.sh index e0aebcb..3025d97 100755 --- a/debian/resources/switch/package-systemd.sh +++ b/debian/resources/switch/package-systemd.sh @@ -4,7 +4,7 @@ cp "$(dirname $0)/source/etc.default.freeswitch.package" /etc/default/freeswitch chmod 644 /lib/systemd/system/freeswitch.service 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