liquid_feedback_frontend
changeset 1051:53b0139ed930
Include "lf_update_issue_order" command in installation instructions
author | jbe |
---|---|
date | Mon Jul 14 21:01:18 2014 +0200 (2014-07-14) |
parents | c727fa9e723f |
children | 66da54c0ae6c |
files | INSTALL.html INSTALL.mkd |
line diff
1.1 --- a/INSTALL.html Thu Jul 10 02:43:17 2014 +0200 1.2 +++ b/INSTALL.html Mon Jul 14 21:01:18 2014 +0200 1.3 @@ -203,11 +203,12 @@ 1.4 end 1.5 </code></pre> 1.6 1.7 -<h2>9. Setup regular execution of <code>lf_update</code> and <code>lf_update_suggestion_order</code></h2> 1.8 +<h2>9. Setup regular execution of <code>lf_update</code> and related commands </h2> 1.9 1.10 -<p>The executables <code>lf_update</code> and <code>lf_update_suggestion_order</code> must be executed 1.11 -regularly. This may be achieved by creating a file named 1.12 -<code>/opt/liquid_feedback_core/lf_updated</code> with the following contents:</p> 1.13 +<p>The executables <code>lf_update</code>, <code>lf_update_issue_order</code>, and 1.14 +<code>lf_update_suggestion_order</code> must be executed regularly. This may be achieved 1.15 +by creating a file named <code>/opt/liquid_feedback_core/lf_updated</code> with the 1.16 +following contents:</p> 1.17 1.18 <pre><code>#!/bin/sh 1.19 1.20 @@ -223,6 +224,7 @@ 1.21 1.22 while true; do 1.23 su - www-data -c 'nice /opt/liquid_feedback_core/lf_update dbname=liquid_feedback 2>&1 | logger -t "lf_updated"' 1.24 + su - www-data -c 'nice /opt/liquid_feedback_core/lf_update_issue_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"' 1.25 su - www-data -c 'nice /opt/liquid_feedback_core/lf_update_suggestion_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"' 1.26 sleep 5 1.27 done
2.1 --- a/INSTALL.mkd Thu Jul 10 02:43:17 2014 +0200 2.2 +++ b/INSTALL.mkd Mon Jul 14 21:01:18 2014 +0200 2.3 @@ -200,12 +200,13 @@ 2.4 end 2.5 2.6 2.7 -9. Setup regular execution of `lf_update` and `lf_update_suggestion_order` 2.8 ---------------------------------------------------------------------------- 2.9 +9. Setup regular execution of `lf_update` and related commands 2.10 +-------------------------------------------------------------- 2.11 2.12 -The executables `lf_update` and `lf_update_suggestion_order` must be executed 2.13 -regularly. This may be achieved by creating a file named 2.14 -`/opt/liquid_feedback_core/lf_updated` with the following contents: 2.15 +The executables `lf_update`, `lf_update_issue_order`, and 2.16 +`lf_update_suggestion_order` must be executed regularly. This may be achieved 2.17 +by creating a file named `/opt/liquid_feedback_core/lf_updated` with the 2.18 +following contents: 2.19 2.20 #!/bin/sh 2.21 2.22 @@ -221,6 +222,7 @@ 2.23 2.24 while true; do 2.25 su - www-data -c 'nice /opt/liquid_feedback_core/lf_update dbname=liquid_feedback 2>&1 | logger -t "lf_updated"' 2.26 + su - www-data -c 'nice /opt/liquid_feedback_core/lf_update_issue_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"' 2.27 su - www-data -c 'nice /opt/liquid_feedback_core/lf_update_suggestion_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"' 2.28 sleep 5 2.29 done