liquid_feedback_frontend
diff INSTALL.mkd @ 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.mkd Sun Feb 14 13:35:16 2021 +0100 1.2 +++ b/INSTALL.mkd Sun Feb 14 15:22:57 2021 +0100 1.3 @@ -142,9 +142,9 @@ 1.4 #!/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>&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>&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>&1 | logger -t "lf_updated"' 1.10 + nice /opt/liquid_feedback_core/lf_update dbname=liquid_feedback 2>&1 | logger -t "lf_core" 1.11 + nice /opt/liquid_feedback_core/lf_update_issue_order dbname=liquid_feedback 2>&1 | logger -t "lf_core" 1.12 + nice /opt/liquid_feedback_core/lf_update_suggestion_order dbname=liquid_feedback 2>&1 | logger -t "lf_core" 1.13 sleep 5 1.14 done 1.15 1.16 @@ -159,7 +159,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 @@ -180,7 +180,7 @@ 1.26 1.27 #/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>&1 | logger -t "lf_frontend" 1.31 1.32 Make it executable: 1.33 1.34 @@ -193,7 +193,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]