Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/etc/sweets.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sweets.conf')
-rw-r--r--etc/sweets.conf23
1 files changed, 21 insertions, 2 deletions
diff --git a/etc/sweets.conf b/etc/sweets.conf
index eaf00fc..9cb3e12 100644
--- a/etc/sweets.conf
+++ b/etc/sweets.conf
@@ -1,7 +1,26 @@
-[sweets]
+[shell]
# space separated list of plugins to enable
-plugins = sn
+plugins = sn client
[local]
# url to connect to Sugar Network server API
api-url = http://api-testing.network.sugarlabs.org
+
+[client]
+# start cron tasks with specified timeout in seconds; it makes sense to avoid
+# overloading the system on startup
+cron-delay = 300
+# enable collecting of usage statistics
+stats = True
+# space separated list of RRAs for RRD databases to keep usage statistics
+stats-rras = RRA:AVERAGE:0.5:1:4320 RRA:AVERAGE:0.5:5:2016
+# step interval in seconds for RRD databases to keep usage statistics
+stats-step = 60
+# if more than 0 and --stats specified, upload collected usage statistics to
+# Sugar Network server with specified delay in seconds
+stats-timeout = 3600
+# optional command-line arguments to pass to packager while unattended updating
+# the system
+update-args = --disablerepo=* --enablerepo=sweets_base --enablerepo=sweets --enablerepo=deployment
+# if more than 0, do regular unattended updates with specified delay in seconds
+update-timeout = 3600