Jelajahi Sumber

introduce fsl monitor feature; ticket #268

Thomas Lotterer 22 tahun lalu
induk
melakukan
a42378e833
3 mengubah file dengan 5 tambahan dan 5 penghapusan
  1. 1 1
      postfix/fsl.postfix
  2. 3 3
      postfix/postfix.spec
  3. 1 1
      postfix/rc.postfix

+ 1 - 1
postfix/fsl.postfix

@@ -9,7 +9,7 @@ ident (postfix/.+)/.+ q{
     -> {
         debug: file(
             path="@l_prefix@/var/postfix/log/postfix.log",
-            perm=0644
+            perm=0644, monitor=3600
         )
     }
 };

+ 3 - 3
postfix/postfix.spec

@@ -39,7 +39,7 @@ Distribution: OpenPKG [BASE]
 Group:        Mail
 License:      IPL
 Version:      %{V_postfix}
-Release:      20030923
+Release:      20031017
 
 #   package options
 %option       with_fsl       yes
@@ -70,8 +70,8 @@ PreReq:       OpenPKG, openpkg >= 20030718, perl, procmail, perl-time
 BuildPreReq:  pcre, db
 PreReq:       pcre, db
 %if "%{with_fsl}" == "yes"
-BuildPreReq:  fsl >= 1.2.0
-PreReq:       fsl >= 1.2.0
+BuildPreReq:  fsl >= 1.3.0
+PreReq:       fsl >= 1.3.0
 %endif
 %if "%{with_tls}" == "yes"
 BuildPreReq:  openssl

+ 1 - 1
postfix/rc.postfix

@@ -69,6 +69,6 @@
         -n ${postfix_log_numfiles} -s ${postfix_log_minsize} -d \
         -z ${postfix_log_complevel} -m 644 -o @l_musr@ -g @l_mgrp@ \
         -P "$postfix_log_prolog" \
-        -E "$postfix_log_epilog && rc postfix reload" \
+        -E "$postfix_log_epilog" \
         @l_prefix@/var/postfix/log/postfix.log