summarylogtreecommitdiffstats
path: root/homegear.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'homegear.logrotate')
-rw-r--r--homegear.logrotate13
1 files changed, 13 insertions, 0 deletions
diff --git a/homegear.logrotate b/homegear.logrotate
new file mode 100644
index 000000000000..d030b24a08ac
--- /dev/null
+++ b/homegear.logrotate
@@ -0,0 +1,13 @@
+/var/log/homegear/*.log /var/log/homegear/*.err {
+ missingok
+ rotate 30
+ compress
+ delaycompress
+ notifempty
+ size 10M
+ create 640 homegear homegear
+ sharedscripts
+ postrotate
+ systemctl restart homegear
+ endscript
+}