summarylogtreecommitdiffstats
path: root/webdavd.logrotate
diff options
context:
space:
mode:
authorSergej Pupykin2020-05-23 02:47:17 +0300
committerSergej Pupykin2020-05-23 02:47:17 +0300
commita5d01fa65fc8c914888c70497cf03419b7b1a735 (patch)
tree735519e20657ddc2c0165c9638dbfffc95c5f991 /webdavd.logrotate
parent0c079a512db711c824d18e9eaa313582e1a9ce1a (diff)
downloadaur-a5d01fa65fc8c914888c70497cf03419b7b1a735.tar.gz
upd
Diffstat (limited to 'webdavd.logrotate')
-rw-r--r--webdavd.logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/webdavd.logrotate b/webdavd.logrotate
new file mode 100644
index 000000000000..eaf849f6542f
--- /dev/null
+++ b/webdavd.logrotate
@@ -0,0 +1,10 @@
+/var/log/webdav-access.log /var/log/webdav-error.log {
+ sharedscripts
+ missingok
+ delaycompress
+ create 640 root adm
+
+ postrotate
+ systemctl restart webdavd
+ endscript
+}