mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-02-01 03:37:09 +01:00
Cleanup supervisor conf
This commit is contained in:
@@ -88,9 +88,7 @@ RUN addgroup --gid=$UID -S "$INVOICENINJA_USER" \
|
|||||||
--no-create-home \
|
--no-create-home \
|
||||||
"$INVOICENINJA_USER" \
|
"$INVOICENINJA_USER" \
|
||||||
&& addgroup "$INVOICENINJA_USER" www-data \
|
&& addgroup "$INVOICENINJA_USER" www-data \
|
||||||
&& mkdir /var/log/supervisord /var/run/supervisord \
|
&& chown -R "$INVOICENINJA_USER":"$INVOICENINJA_USER" /var/www/app
|
||||||
&& chown -R "$INVOICENINJA_USER":"$INVOICENINJA_USER" /var/www/app \
|
|
||||||
&& chown $INVOICENINJA_USER:www-data /var/log/supervisord /var/run/supervisord
|
|
||||||
|
|
||||||
USER $UID
|
USER $UID
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
[supervisord]
|
[supervisord]
|
||||||
process_name=%(program_name)s_%(process_num)02d
|
process_name=%(program_name)s_%(process_num)02d
|
||||||
nodaemon=true
|
nodaemon=true
|
||||||
user=invoiceninja
|
pidfile=/tmp/supervisord.pid
|
||||||
pidfile=/var/run/supervisord/supervisord.pid
|
|
||||||
logfile=/dev/null ; nodaemon will cause logs to go to stdout
|
logfile=/dev/null ; nodaemon will cause logs to go to stdout
|
||||||
logfile_maxbytes=0
|
logfile_maxbytes=0
|
||||||
loglevel=error
|
loglevel=error
|
||||||
|
|||||||
Reference in New Issue
Block a user