From 3add3d5d7590fb740911693999697570a9087d0a Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Tue, 17 Dec 2013 12:17:49 +0100 Subject: KittyStore's cron job is gone, update the doc --- doc/install.rst | 19 ++++++++++++++----- hyperkitty.spec | 9 --------- 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 - 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 - 0.1.7-0.1 - don't remove the static files cache on uninstall (it may have local -- cgit