Commit e2f5aa46 authored by Natanael Copa's avatar Natanael Copa

extra/fetchmail: set default poll period to 300 seconds

parent f8f2344c
......@@ -2,11 +2,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fetchmail
pkgver=6.3.9
pkgrel=2
pkgrel=3
pkgdesc="A remote-mail retrieval and forwarding utility"
url="http://fetchmail.berlios.de/"
license="GPL"
depends="openssl uclibc"
depends=
makedepends="openssl-dev python"
install="fetchmail.pre-install fetchmail.post-install"
subpackages="$pkgname-doc fetchmailconf"
......@@ -41,4 +41,4 @@ fetchmailconf() {
md5sums="72c20ad2b9629f1a109668b05a84d823 fetchmail-6.3.9.tar.bz2
5a2fc8e8b3115fe2b9bf23503fb8f0a4 fetchmail.pre-install
4b451d102e92926b6b6c1774f4260310 fetchmail.post-install
9a64c2b77d1a03a1eb8648a32d46b2c5 fetchmail.initd"
22e9ac1d8385db05da15e01fd5c831e4 fetchmail.initd"
......@@ -20,7 +20,7 @@ start() {
ebegin "Starting fetchmail"
start-stop-daemon --start --quiet \
--chuid fetchmail --exec /usr/bin/fetchmail \
-- -d ${polling_period} -f /etc/fetchmailrc \
-- -d ${polling_period:-300} -f /etc/fetchmailrc \
--pidfile ${pidfile} -i /var/lib/fetchmail/.fetchids
eend ${?}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment