summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-12-17 12:17:49 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-12-20 10:35:33 +0100
commit3add3d5d7590fb740911693999697570a9087d0a (patch)
treeba68defe18da7b9bb46bc9afe6c2e3d699ee9774
parent81ab10badef94b14afc361d318b72449f638c793 (diff)
downloadhyperkitty-3add3d5d7590fb740911693999697570a9087d0a.tar.gz
hyperkitty-3add3d5d7590fb740911693999697570a9087d0a.tar.xz
hyperkitty-3add3d5d7590fb740911693999697570a9087d0a.zip
KittyStore's cron job is gone, update the doc
-rw-r--r--doc/install.rst19
-rw-r--r--hyperkitty.spec9
2 files changed, 14 insertions, 14 deletions
diff --git a/doc/install.rst b/doc/install.rst
index a69d2b6..db5104a 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -118,11 +118,6 @@ command::
Thread categories can be edited and added from the Django administration
interface (append ``/admin`` to your base URL).
-HyperKitty includes a cache to speed up database access, and it is recommended to setup a periodic task (cron job) to refresh that cache. The following command should be run once a day::
-
- kittystore-refresh-cache -p {path-to-hyperkitty_standalone} -s settings_admin
-
-For example, you can put it in a script in your ``/etc/cron.daily`` directory.
Upgrading
=========
@@ -149,6 +144,20 @@ your webserver again, and restart Mailman (to take the KittyStore upgrade into
account).
+Maintenance
+===========
+
+HyperKitty imports some properties from Mailman, like the list description, its
+privacy status, etc. This import is done and refreshed on each message arrival.
+If you change some properties in Mailman and you want to manually refresh them
+in HyperKitty, you can run the following command::
+
+ kittystore-sync-mailman -p {path-to-hyperkitty_standalone} -s settings
+
+This command will refresh list properties and user IDs, and may take several
+minutes to complete.
+
+
License
=======
diff --git a/hyperkitty.spec b/hyperkitty.spec
index 31a5257..87e09ef 100644
--- a/hyperkitty.spec
+++ b/hyperkitty.spec
@@ -163,13 +163,6 @@ sed -i -e 's,/path/to/rw,%{_localstatedir}/lib/%{name}/sites/default/db,g' \
%{buildroot}%{_sysconfdir}/%{name}/sites/default/settings.py
touch --reference hyperkitty_standalone/settings.py \
%{buildroot}%{_sysconfdir}/%{name}/sites/default/settings.py
-# Cron job
-mkdir -p %{buildroot}%{_sysconfdir}/cron.daily
-sed -e 's,/path/to/hyperkitty_standalone,%{_sysconfdir}/%{name}/sites/default,g' \
- hyperkitty_standalone/hyperkitty.cron \
- > %{buildroot}%{_sysconfdir}/cron.daily/%{name}
-touch --reference hyperkitty_standalone/hyperkitty.cron \
- %{buildroot}%{_sysconfdir}/cron.daily/%{name}
# SELinux
for selinuxvariant in %{selinux_variants}; do
@@ -219,7 +212,6 @@ fi
%config(noreplace) %{_sysconfdir}/%{name}
%config(noreplace) %attr(640,root,apache) %{_sysconfdir}/%{name}/sites/default/settings.py
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
-%config(noreplace) %{_sysconfdir}/cron.daily/%{name}
%{python_sitelib}/%{name}
%{python_sitelib}/%{pypi_name}-%{version}%{?prerel:dev}-py?.?.egg-info
%dir %{_localstatedir}/lib/%{name}
@@ -238,7 +230,6 @@ fi
* Mon Nov 25 2013 Aurelien Bompard <abompard@fedoraproject.org> - 0.1.7-0.1
- add SELinux policy module, according to:
http://fedoraproject.org/wiki/SELinux_Policy_Modules_Packaging_Draft
-- add a cron job to refresh KittyStore's cache
* Thu Aug 15 2013 Aurelien Bompard <abompard@fedoraproject.org> - 0.1.7-0.1
- don't remove the static files cache on uninstall (it may have local