summaryrefslogtreecommitdiff
path: root/user/rspamd/rspamd.logrotated
diff options
context:
space:
mode:
authorLee Starnes <lee@canned-death.us>2020-09-19 00:12:15 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-09-19 00:12:15 +0000
commitcdd03f807a0d8346bc0fe7d1187ee0befe356624 (patch)
treec93df99f16f224157b252f5337e7e421d07888f4 /user/rspamd/rspamd.logrotated
parentdb49432374e0e3ed11d99c831d1349f3ddc74a33 (diff)
downloadpackages-cdd03f807a0d8346bc0fe7d1187ee0befe356624.tar.gz
packages-cdd03f807a0d8346bc0fe7d1187ee0befe356624.tar.bz2
packages-cdd03f807a0d8346bc0fe7d1187ee0befe356624.tar.xz
packages-cdd03f807a0d8346bc0fe7d1187ee0befe356624.zip
user/rspamd: import from Alpine, disable JIT, and use lua5.3
Diffstat (limited to 'user/rspamd/rspamd.logrotated')
-rw-r--r--user/rspamd/rspamd.logrotated11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/rspamd/rspamd.logrotated b/user/rspamd/rspamd.logrotated
new file mode 100644
index 000000000..2a443f2de
--- /dev/null
+++ b/user/rspamd/rspamd.logrotated
@@ -0,0 +1,11 @@
+/var/log/rspamd/*log {
+ daily
+ rotate 10
+ missingok
+ notifempty
+ compress
+ sharedscripts
+ postrotate
+ /etc/init.d/rspamd --ifstarted --quiet reopen
+ endscript
+}