liquid_feedback_frontend

diff INSTALL.html @ 1661:fa9e93235e02

Updated systemd scripts in installation instructions
author bsw
date Sun Feb 14 15:22:57 2021 +0100 (2021-02-14)
parents 4d5f30d8df4a
children a92e5df8905c
line diff
     1.1 --- a/INSTALL.html	Sun Feb 14 13:35:16 2021 +0100
     1.2 +++ b/INSTALL.html	Sun Feb 14 15:22:57 2021 +0100
     1.3 @@ -137,9 +137,9 @@
     1.4  <pre><code>#!/bin/sh
     1.5  
     1.6  while true; do
     1.7 -  su - www-data -s /bin/sh -c 'nice /opt/liquid_feedback_core/lf_update dbname=liquid_feedback 2&gt;&amp;1 | logger -t "lf_updated"'
     1.8 -  su - www-data -s /bin/sh -c 'nice /opt/liquid_feedback_core/lf_update_issue_order dbname=liquid_feedback 2&gt;&amp;1 | logger -t "lf_updated"'
     1.9 -  su - www-data -s /bin/sh -c 'nice /opt/liquid_feedback_core/lf_update_suggestion_order dbname=liquid_feedback 2&gt;&amp;1 | logger -t "lf_updated"'
    1.10 +  nice /opt/liquid_feedback_core/lf_update dbname=liquid_feedback 2&gt;&amp;1 | logger -t "lf_core"
    1.11 +  nice /opt/liquid_feedback_core/lf_update_issue_order dbname=liquid_feedback 2&gt;&amp;1 | logger -t "lf_core"
    1.12 +  nice /opt/liquid_feedback_core/lf_update_suggestion_order dbname=liquid_feedback 2&gt;&amp;1 | logger -t "lf_core"
    1.13    sleep 5
    1.14  done
    1.15  </code></pre>
    1.16 @@ -156,7 +156,7 @@
    1.17  Description=LiquidFeedback Core update
    1.18  
    1.19  [Service]
    1.20 -User=lf
    1.21 +User=www-data
    1.22  ExecStart=/opt/liquid_feedback_core/lf_update.sh
    1.23  
    1.24  [Install]
    1.25 @@ -176,7 +176,7 @@
    1.26  
    1.27  <pre><code>#/bin/bash
    1.28  
    1.29 -su - www-data -c /opt/moonbridge/moonbridge /opt/webmcp/bin/mcp.lua /opt/webmcp/ /opt/liquid_feedback_frontend/ main myconfig
    1.30 +/opt/moonbridge/moonbridge /opt/webmcp/bin/mcp.lua /opt/webmcp/ /opt/liquid_feedback_frontend/ main myconfig  2&gt;&amp;1 | logger -t "lf_frontend"
    1.31  </code></pre>
    1.32  
    1.33  <p>Make it executable:</p>
    1.34 @@ -191,7 +191,7 @@
    1.35  Description=LiquidFeedback Frontend
    1.36  
    1.37  [Service]
    1.38 -User=lf
    1.39 +User=www-data
    1.40  ExecStart=/opt/liquid_feedback_frontend/run.sh
    1.41  
    1.42  [Install]

Impressum / About Us