diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2006-08-27 19:19:37 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2006-08-27 19:19:37 +0000 |
commit | 842bfbe54740b093897f86295c7ccb15240196a6 (patch) | |
tree | 84c299a486ab6f26ad214a686f56735cb53fc008 | |
parent | b600be0a07be9891f7568911ed9b395fdf8f9ebd (diff) | |
download | sitesummary-842bfbe54740b093897f86295c7ccb15240196a6.tar.gz sitesummary-842bfbe54740b093897f86295c7ccb15240196a6.tar.bz2 sitesummary-842bfbe54740b093897f86295c7ccb15240196a6.tar.xz |
* Make it easier to configure the time delay from the boot until a
report is submitted.
-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) ;; |