diff options
author | Jon Portnoy <avenj@gentoo.org> | 2003-03-31 19:56:18 +0000 |
---|---|---|
committer | Jon Portnoy <avenj@gentoo.org> | 2003-03-31 19:56:18 +0000 |
commit | ee0ed8461c705e76a93501c5a5f20ced33c4b6bf (patch) | |
tree | ff03bbc537ee9f10a7c4fc1d960361a7a900fbe7 /net-mail/fetchmail/files | |
parent | Bumped rxvt to a newer version in order to fix compile errors in previous ver... (diff) | |
download | gentoo-2-ee0ed8461c705e76a93501c5a5f20ced33c4b6bf.tar.gz gentoo-2-ee0ed8461c705e76a93501c5a5f20ced33c4b6bf.tar.bz2 gentoo-2-ee0ed8461c705e76a93501c5a5f20ced33c4b6bf.zip |
init script changes, fixes bug 18546
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 ${?} } |