liquid_feedback_frontend

changeset 1661:fa9e93235e02

Updated systemd scripts in installation instructions
author bsw
date Sun Feb 14 15:22:57 2021 +0100 (2021-02-14)
parents cbce4491c93e
children 59cbb870253c
files INSTALL.html INSTALL.mkd
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]
     2.1 --- a/INSTALL.mkd	Sun Feb 14 13:35:16 2021 +0100
     2.2 +++ b/INSTALL.mkd	Sun Feb 14 15:22:57 2021 +0100
     2.3 @@ -142,9 +142,9 @@
     2.4      #!/bin/sh
     2.5  
     2.6      while true; do
     2.7 -      su - www-data -s /bin/sh -c 'nice /opt/liquid_feedback_core/lf_update dbname=liquid_feedback 2>&1 | logger -t "lf_updated"'
     2.8 -      su - www-data -s /bin/sh -c 'nice /opt/liquid_feedback_core/lf_update_issue_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"'
     2.9 -      su - www-data -s /bin/sh -c 'nice /opt/liquid_feedback_core/lf_update_suggestion_order dbname=liquid_feedback 2>&1 | logger -t "lf_updated"'
    2.10 +      nice /opt/liquid_feedback_core/lf_update dbname=liquid_feedback 2>&1 | logger -t "lf_core"
    2.11 +      nice /opt/liquid_feedback_core/lf_update_issue_order dbname=liquid_feedback 2>&1 | logger -t "lf_core"
    2.12 +      nice /opt/liquid_feedback_core/lf_update_suggestion_order dbname=liquid_feedback 2>&1 | logger -t "lf_core"
    2.13        sleep 5
    2.14      done
    2.15  
    2.16 @@ -159,7 +159,7 @@
    2.17      Description=LiquidFeedback Core update
    2.18  
    2.19      [Service]
    2.20 -    User=lf
    2.21 +    User=www-data
    2.22      ExecStart=/opt/liquid_feedback_core/lf_update.sh
    2.23  
    2.24      [Install]
    2.25 @@ -180,7 +180,7 @@
    2.26  
    2.27      #/bin/bash
    2.28      
    2.29 -    su - www-data -c /opt/moonbridge/moonbridge /opt/webmcp/bin/mcp.lua /opt/webmcp/ /opt/liquid_feedback_frontend/ main myconfig
    2.30 +    /opt/moonbridge/moonbridge /opt/webmcp/bin/mcp.lua /opt/webmcp/ /opt/liquid_feedback_frontend/ main myconfig  2>&1 | logger -t "lf_frontend"
    2.31  
    2.32  Make it executable:
    2.33  
    2.34 @@ -193,7 +193,7 @@
    2.35      Description=LiquidFeedback Frontend
    2.36  
    2.37      [Service]
    2.38 -    User=lf
    2.39 +    User=www-data
    2.40      ExecStart=/opt/liquid_feedback_frontend/run.sh
    2.41  
    2.42      [Install]

Impressum / About Us