Fix bug 1262 - Updated requirements to use mysqlclient
[osm/LW-UI.git] / supervisor-app.conf
index 1dabdea..02099a7 100644 (file)
@@ -1,6 +1,28 @@
+#   Copyright 2019 EveryUP Srl
+#
+#   Licensed under the Apache License, Version 2.0 (the "License");
+#   you may not use this file except in compliance with the License.
+#   You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an  BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+
 [program:app-uwsgi]
-command = /usr/local/bin/uwsgi --ini /usr/share/osm-lightui/django.ini
+command = /usr/local/bin/uwsgi --ini /usr/share/osm-lightui/django.ini --log-master
 environment=DJANGO_ENV="prod"
+stdout_logfile=/dev/stdout
+stdout_logfile_maxbytes=0
+stdout_logfile=/dev/stderr
+stdout_logfile_maxbytes=0
 
 [program:nginx-app]
 command = /usr/sbin/nginx
+stdout_logfile=/dev/stdout
+stdout_logfile_maxbytes=0
+stdout_logfile=/dev/stderr
+stdout_logfile_maxbytes=0
\ No newline at end of file