mirror of https://github.com/MISP/misp-docker
fix: run misp-modules and workers as www-data
parent
3cce984b32
commit
b1b05107a7
|
@ -59,11 +59,13 @@ RUN ( \
|
|||
echo 'command=/bin/bash /var/www/MISP/app/Console/worker/start.sh'; \
|
||||
echo 'startsecs = 0'; \
|
||||
echo 'autorestart = false'; \
|
||||
echo 'user=www-data'; \
|
||||
echo ''; \
|
||||
echo '[program:misp-modules]'; \
|
||||
echo 'command=/bin/bash -c "/var/www/MISP/venv/bin/misp-modules -l 127.0.0.1 -s"'; \
|
||||
echo 'startsecs = 0'; \
|
||||
echo 'autorestart = false'; \
|
||||
echo 'user=www-data'; \
|
||||
) >> /etc/supervisor/conf.d/supervisord.conf
|
||||
|
||||
# Add run script
|
||||
|
|
Loading…
Reference in New Issue