liquid_feedback_frontend
diff INSTALL.mkd @ 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 | b9300c2e75da |
children | 08adef9f05b9 |
line diff
1.1 --- a/INSTALL.mkd Thu Jul 10 02:43:17 2014 +0200 1.2 +++ b/INSTALL.mkd Mon Jul 14 21:01:18 2014 +0200 1.3 @@ -200,12 +200,13 @@ 1.4 end 1.5 1.6 1.7 -9. Setup regular execution of `lf_update` and `lf_update_suggestion_order` 1.8 ---------------------------------------------------------------------------- 1.9 +9. Setup regular execution of `lf_update` and related commands 1.10 +-------------------------------------------------------------- 1.11 1.12 -The executables `lf_update` and `lf_update_suggestion_order` must be executed 1.13 -regularly. This may be achieved by creating a file named 1.14 -`/opt/liquid_feedback_core/lf_updated` with the following contents: 1.15 +The executables `lf_update`, `lf_update_issue_order`, and 1.16 +`lf_update_suggestion_order` must be executed regularly. This may be achieved 1.17 +by creating a file named `/opt/liquid_feedback_core/lf_updated` with the 1.18 +following contents: 1.19 1.20 #!/bin/sh 1.21 1.22 @@ -221,6 +222,7 @@ 1.23 1.24 while true; do 1.25 su - www-data -c 'nice /opt/liquid_feedback_core/lf_update dbname=liquid_feedback 2>&1 | logger -t "lf_updated"' 1.26 + su - www-data -c 'nice /opt/liquid_feedback_core/lf_update_issue_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"' 1.27 su - www-data -c 'nice /opt/liquid_feedback_core/lf_update_suggestion_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"' 1.28 sleep 5 1.29 done