diff options
Diffstat (limited to 'net-mail/fetchmail/files')
-rw-r--r-- | net-mail/fetchmail/files/conf.d-fetchmail | 8 | ||||
-rw-r--r-- | net-mail/fetchmail/files/fetchmail | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/net-mail/fetchmail/files/conf.d-fetchmail b/net-mail/fetchmail/files/conf.d-fetchmail new file mode 100644 index 000000000000..354512d4158d --- /dev/null +++ b/net-mail/fetchmail/files/conf.d-fetchmail @@ -0,0 +1,8 @@ +# Copyright 2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/files/conf.d-fetchmail,v 1.1 2003/03/31 19:56:18 avenj Exp $ + +# Polling frequency in seconds +# (fetchmail will daemonize and check for new mail at this interval) +polling_period="60" + diff --git a/net-mail/fetchmail/files/fetchmail b/net-mail/fetchmail/files/fetchmail index d32587a4a1eb..be5067dc57b3 100644 --- a/net-mail/fetchmail/files/fetchmail +++ b/net-mail/fetchmail/files/fetchmail @@ -16,7 +16,7 @@ start() { ebegin "Starting fetchmail" start-stop-daemon --start --quiet --exec /usr/bin/fetchmail \ - -- -d 60 -f /etc/fetchmailrc + -- -d ${polling_period} -f /etc/fetchmailrc eend ${?} } |