forked from norman/fusionpbx-install.sh-github-mirror
Update package-systemd.sh
This commit is contained in:
2
debian/resources/switch/package-systemd.sh
vendored
2
debian/resources/switch/package-systemd.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user