Update package-systemd.sh
This commit is contained in:
parent
0042437ad0
commit
722931e95e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue