Merge "Avoid the cronjob filling up dom0's FS"

This commit is contained in:
Jenkins 2016-11-09 10:58:12 +00:00 committed by Gerrit Code Review
commit 3343ca5819
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ def install_logrotate_script(himn, username):
utils.scp(himn, username, '/root/', 'rotate_xen_guest_logs.sh')
utils.ssh(himn, username, 'mkdir -p /var/log/xen/guest')
utils.ssh(himn, username, '''crontab - << CRONTAB
* * * * * /root/rotate_xen_guest_logs.sh
* * * * * /root/rotate_xen_guest_logs.sh >/dev/null 2>&1
CRONTAB''')

View File

@ -1,5 +1,5 @@
#!/bin/bash
set -eux
set -eu
# Script to rotate console logs
#