summarylogtreecommitdiffstats
path: root/opennebula.logrotate
diff options
context:
space:
mode:
authorsulaweyo2017-08-24 17:54:02 +0200
committersulaweyo2017-08-24 17:54:02 +0200
commitc0355bdaf49393deef8d4586a88cfdd276bba67d (patch)
tree62b1379c8ff4efc0fc7b599da2df2870d6cafac7 /opennebula.logrotate
parent936ed6835c0bd4124a34ebf32cfd57a585d4fef5 (diff)
downloadaur-c0355bdaf49393deef8d4586a88cfdd276bba67d.tar.gz
Service units are now a lot closer to upstream
Logrotate and tmpfiles taken over from upstream
Diffstat (limited to 'opennebula.logrotate')
-rw-r--r--opennebula.logrotate25
1 files changed, 25 insertions, 0 deletions
diff --git a/opennebula.logrotate b/opennebula.logrotate
new file mode 100644
index 000000000000..6b8db4c0b89d
--- /dev/null
+++ b/opennebula.logrotate
@@ -0,0 +1,25 @@
+delaycompress
+dateext
+dateformat -%Y%m%d-%s
+
+compress
+weekly
+rotate 52
+
+/var/log/one/one_xmlrpc.log {
+ missingok
+ notifempty
+ copytruncate
+}
+
+/var/log/one/oned.log {
+ missingok
+ notifempty
+ copytruncate
+}
+
+/var/log/one/sched.log {
+ missingok
+ notifempty
+ copytruncate
+}