# HG changeset patch # User jbe # Date 1405364478 -7200 # Node ID 53b0139ed930055a6d1e98627d0bf3bb422b152a # Parent c727fa9e723f2b34b9fe54f81897199b217f0610 Include "lf_update_issue_order" command in installation instructions diff -r c727fa9e723f -r 53b0139ed930 INSTALL.html --- a/INSTALL.html Thu Jul 10 02:43:17 2014 +0200 +++ b/INSTALL.html Mon Jul 14 21:01:18 2014 +0200 @@ -203,11 +203,12 @@ end -
lf_update
and lf_update_suggestion_order
lf_update
and related commands The executables lf_update
and lf_update_suggestion_order
must be executed
-regularly. This may be achieved by creating a file named
-/opt/liquid_feedback_core/lf_updated
with the following contents:
The executables lf_update
, lf_update_issue_order
, and
+lf_update_suggestion_order
must be executed regularly. This may be achieved
+by creating a file named /opt/liquid_feedback_core/lf_updated
with the
+following contents:
#!/bin/sh
@@ -223,6 +224,7 @@
while true; do
su - www-data -c 'nice /opt/liquid_feedback_core/lf_update dbname=liquid_feedback 2>&1 | logger -t "lf_updated"'
+ su - www-data -c 'nice /opt/liquid_feedback_core/lf_update_issue_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"'
su - www-data -c 'nice /opt/liquid_feedback_core/lf_update_suggestion_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"'
sleep 5
done
diff -r c727fa9e723f -r 53b0139ed930 INSTALL.mkd
--- a/INSTALL.mkd Thu Jul 10 02:43:17 2014 +0200
+++ b/INSTALL.mkd Mon Jul 14 21:01:18 2014 +0200
@@ -200,12 +200,13 @@
end
-9. Setup regular execution of `lf_update` and `lf_update_suggestion_order`
----------------------------------------------------------------------------
+9. Setup regular execution of `lf_update` and related commands
+--------------------------------------------------------------
-The executables `lf_update` and `lf_update_suggestion_order` must be executed
-regularly. This may be achieved by creating a file named
-`/opt/liquid_feedback_core/lf_updated` with the following contents:
+The executables `lf_update`, `lf_update_issue_order`, and
+`lf_update_suggestion_order` must be executed regularly. This may be achieved
+by creating a file named `/opt/liquid_feedback_core/lf_updated` with the
+following contents:
#!/bin/sh
@@ -221,6 +222,7 @@
while true; do
su - www-data -c 'nice /opt/liquid_feedback_core/lf_update dbname=liquid_feedback 2>&1 | logger -t "lf_updated"'
+ su - www-data -c 'nice /opt/liquid_feedback_core/lf_update_issue_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"'
su - www-data -c 'nice /opt/liquid_feedback_core/lf_update_suggestion_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"'
sleep 5
done