From 6a8ab9fdedc7f38876286014fa0a73bb1dc3497d Mon Sep 17 00:00:00 2001 From: Miguel Gonzalez Date: Fri, 09 Aug 2013 12:08:25 +0000 Subject: Tab to spaces --- diff --git a/INSTALL b/INSTALL index f365280..96044fa 100644 --- a/INSTALL +++ b/INSTALL @@ -3,7 +3,7 @@ Install Instructions 1. Install Python package. - # python setup.py install + # python setup.py install This will install Python module in Python path and `stats_consolidation_run` script. @@ -33,29 +33,29 @@ previously. This an example configuration file: - [main] - db_user=user - db_pass=password - db_name=database - db_dialect=postgres + [main] + db_user=user + db_pass=password + db_name=database + db_dialect=postgres - rrd_path=/var/lib/sugar-stats/rrd - log_path=/var/log - log_level=debug + rrd_path=/var/lib/sugar-stats/rrd + log_path=/var/log + log_level=debug Then copy to default configuration path: - # cp stats-consolidation.conf /etc/stats-consolidation.conf + # cp stats-consolidation.conf /etc/stats-consolidation.conf 4. Activate crontab. Check the actual path of main script. - $ which stats_consolidation_run - /usr/local/bin/stats_consolidation_run + $ which stats_consolidation_run + /usr/local/bin/stats_consolidation_run Configure the following entry on crontab with correct arguments: - 0 3 * * * root /usr/local/bin/stats_consolidation_run --db_user=user --db_pass=password db_name=database db_dialect=postgres rrd_path=/var/lib/sugar-stats/rrd log_path=/var/log + 0 3 * * * root /usr/local/bin/stats_consolidation_run --db_user=user --db_pass=password db_name=database db_dialect=postgres rrd_path=/var/lib/sugar-stats/rrd log_path=/var/log -- cgit v0.9.1