[debian-edu-commits] debian-edu/pkg-team/ 03/03: debian/impressive-display.default: Support configuration of RUSH_HOURS and SLEEP_HOURS.

Mike Gabriel sunweaver at debian.org
Fri Apr 1 10:44:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository impressive-display.

commit 3ee6df51a4190def22e827d62d16f75d322ac61c
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Apr 1 12:43:55 2016 +0200

    debian/impressive-display.default: Support configuration of RUSH_HOURS and SLEEP_HOURS.
---
 debian/impressive-display.default | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/impressive-display.default b/debian/impressive-display.default
index 208582c..8fff179 100644
--- a/debian/impressive-display.default
+++ b/debian/impressive-display.default
@@ -23,7 +23,15 @@ PRIMARY_DISPLAYS="$(hostname -f)"
 #HTTP_PROXY_URL="http://webcache:3128"
 
 # Idle interval between PDF downloads.
-DOWNLOAD_INTERVAL=600
+DOWNLOAD_INTERVAL="600"
+
+# During rush hours check PDF file on remote URL more often
+RUSH_HOURS="07-11"
+RUSH_HOURS_DOWNLOAD_INTERVAL="180"
+
+# Disable PDF downloads at night time completely...
+SLEEP_HOURS="22-06"
+SLEEP_HOURS_DOWNLOAD_INTERVAL="0"
 
 # Or different static PDF documents (downloadable PDFs get preferred by
 # the impressive-display script...).

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/impressive-display.git



More information about the debian-edu-commits mailing list