summarylogtreecommitdiffstats
path: root/homegear.logrotate
diff options
context:
space:
mode:
authorSven Klomp2016-02-09 19:33:49 +0100
committerSven Klomp2016-02-09 19:33:49 +0100
commit34b37834b0b6ae3dc4c3c1092e6f3886173b8a48 (patch)
treec2f48a59565f0f196aeedfc1b8978a01ccd745c9 /homegear.logrotate
downloadaur-34b37834b0b6ae3dc4c3c1092e6f3886173b8a48.tar.gz
Initial commit
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 00000000000..d030b24a08a
--- /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
+}