]> git.pld-linux.org Git - packages/fetchmail.git/commitdiff
- Added support for verbose logging.
authormkochano <mkochano@pld-linux.org>
Tue, 26 Jun 2001 15:29:18 +0000 (15:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fetchmail.init -> 1.7
    fetchmail.sysconfig -> 1.3

fetchmail.init
fetchmail.sysconfig

index daecfbff54937e01dbe11a82fe7db29a18344f87..987f78de17388dfa287ced5614543f20d0d8d4dd 100644 (file)
@@ -34,7 +34,10 @@ case "$1" in
   start)
        if [ ! -f /var/lock/subsys/fetchmail ]; then
                msg_starting "fetchmail"
-               daemon fetchmail -d "$POLL_INTERVAL" -f /etc/fetchmailrc
+
+               is_yes $VERBOSE_LOGGING && OPTIONS="-v"
+
+               daemon fetchmail -d "$POLL_INTERVAL" $OPTIONS -f /etc/fetchmailrc
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/fetchmail
        else
index 387ab373aded3d9c353384ffc3071f3fff00fb34..4802564358890c1d8c5df8e3e35fa87a0a75e92f 100644 (file)
@@ -5,3 +5,6 @@ SERVICE_RUN_NICE_LEVEL="+5"
 
 # Fetchmail daemon poll interval (in seconds)
 POLL_INTERVAL="300"
+
+# Log POP/IMAP/SMTP chat (leave empty, or put yes/no/true/false)
+VERBOSE_LOGGING="no"
This page took 0.0788219999999999 seconds and 4 git commands to generate.