فهرست منبع

INN has own logfile rotation job which picks up our news.* files

Ralf S. Engelschall 23 سال پیش
والد
کامیت
c62d8ab2e6
2فایلهای تغییر یافته به همراه2 افزوده شده و 14 حذف شده
  1. 1 1
      inn/inn.spec
  2. 1 13
      inn/rc.inn

+ 1 - 1
inn/inn.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
 Group:        News
 License:      ISC
 Version:      2.4.0
-Release:      20030624
+Release:      20030628
 
 #   package options
 %option       with_fsl  yes

+ 1 - 13
inn/rc.inn

@@ -6,11 +6,6 @@
 %config
     inn_enable="yes"
     inn_nntpsend_enable="no"
-    inn_log_prolog="true"
-    inn_log_epilog="true"
-    inn_log_numfiles="10"
-    inn_log_minsize="1M"
-    inn_log_complevel="9"
 
 %start -p 200 -u @l_rusr@
     opServiceEnabled inn || exit 0
@@ -34,14 +29,7 @@
     opServiceEnabled inn || exit 0
     @l_prefix@/libexec/inn/news.daily expireover lowmark delayrm
 
-    #   rotate logfile
-    shtool rotate -f \
-        -n${inn_log_numfiles} -s${inn_log_minsize} -d \
-        -z${inn_log_complevel} -o@l_rusr@ -g@l_rgrp@ -m644 \
-        -P "${inn_log_prolog}" \
-        -E "${inn_log_epilog}" \
-        @l_prefix@/var/inn/log/news.*
-
 %quarterly -u @l_rusr@
     opServiceEnabled inn || exit 0
     opServiceEnabled inn_nntpsend && @l_prefix@/bin/nntpsend || true
+