mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
don't overwrite logrotate in XenServer
This commit is contained in:
parent
49e3278c42
commit
a235840856
@ -49,7 +49,7 @@ sed -i 's/0\.0\.0\.0/127\.0\.0\.1/' /opt/xensource/libexec/qemu-dm-wrapper 2>&1
|
|||||||
sed -i /NOZEROCONF/d /etc/sysconfig/network
|
sed -i /NOZEROCONF/d /etc/sysconfig/network
|
||||||
echo "NOZEROCONF=yes" >> /etc/sysconfig/network
|
echo "NOZEROCONF=yes" >> /etc/sysconfig/network
|
||||||
|
|
||||||
mv /etc/cron.daily/logrotate /etc/cron.hourly 2>&1
|
[ -f /etc/cron.hourly/logrotate ] || mv /etc/cron.daily/logrotate /etc/cron.hourly 2>&1
|
||||||
|
|
||||||
# more aio thread
|
# more aio thread
|
||||||
echo 1048576 >/proc/sys/fs/aio-max-nr
|
echo 1048576 >/proc/sys/fs/aio-max-nr
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user