diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/sitesummary-client.init | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 09001dd..13f8c17 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ sitesummary (0.0.3) UNRELEASED; urgency=low * Remove temp file when it is processed by the collector. * Include the directories in /var/lib/sitesummary/ used by the collector in the sitesummary package. + * Make it easier to configure the time delay from the boot until a + report is submitted. -- Petter Reinholdtsen <pere@debian.org> Sun, 27 Aug 2006 13:58:13 +0200 diff --git a/debian/sitesummary-client.init b/debian/sitesummary-client.init index 3d42d7e..c9f2dac 100644 --- a/debian/sitesummary-client.init +++ b/debian/sitesummary-client.init @@ -12,6 +12,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin CLIENT=/usr/sbin/sitesummary-client +REPORTDELAY=300 [ -f /etc/default/sitesummary-client ] && . /etc/default/sitesummary-client @@ -19,7 +20,7 @@ test -x $CLIENT || exit 0 case "$1" in start) - ( sleep 300 ; nice $CLIENT ) < /dev/null > /dev/null 2>&1 & + ( sleep $REPORTDELAY ; nice $CLIENT ) < /dev/null > /dev/null 2>&1 & ;; stop|reload|force-reload|restart) ;; |