summaryrefslogtreecommitdiffstats
path: root/abs/core/func/logrotate-func.conf
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/func/logrotate-func.conf')
-rw-r--r--abs/core/func/logrotate-func.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/func/logrotate-func.conf b/abs/core/func/logrotate-func.conf
new file mode 100644
index 0000000..0160bdc
--- /dev/null
+++ b/abs/core/func/logrotate-func.conf
@@ -0,0 +1,14 @@
+/var/log/func/audit.log {
+ missingok
+ notifempty
+ rotate 0
+ compress
+ size 512k
+ postrotate
+ if [ -f /service/funcd ]; then
+ sv restart funcd
+ fi
+ endscript
+}
+
+