cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ustcweizhou <...@git.apache.org>
Subject [GitHub] cloudstack issue #1915: CLOUDSTACK-9746 system-vm: logrotate config causes c...
Date Fri, 17 Feb 2017 19:32:05 GMT
Github user ustcweizhou commented on the issue:

    https://github.com/apache/cloudstack/pull/1915
  
    agree with @dmabry 
    logrotate need to be moved (or copied) to cron.hourly
    ```
    diff --git a/systemvm/patches/debian/config/etc/cron.hourly/logrotate b/systemvm/patches/debian/config/etc/cron.hourly/logrotate
    new file mode 100755
    index 0000000..055b4d5
    --- /dev/null
    +++ b/systemvm/patches/debian/config/etc/cron.hourly/logrotate
    @@ -0,0 +1,5 @@
    +#!/bin/sh
    +
    +test -x /usr/sbin/logrotate || exit 0
    +/usr/sbin/logrotate /etc/logrotate.conf
    +
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message