diff --git a/core/Dockerfile b/core/Dockerfile index 57ec171..b9e46d1 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -262,6 +262,9 @@ EOF touch /var/www/MISP/.git/ORIG_HEAD && chmod 0600 /var/www/MISP/.git/ORIG_HEAD && chown www-data:www-data /var/www/MISP/.git/ORIG_HEAD EOF + # Include rsyslog to support syslogger + RUN apt-get update ; apt-get install -y rsyslog + # Copy all our image specific files to appropriate locations COPY files/ / ENTRYPOINT [ "/entrypoint.sh" ] diff --git a/core/files/etc/supervisor/conf.d/10-supervisor.conf b/core/files/etc/supervisor/conf.d/10-supervisor.conf index 8b7c81f..fde3172 100644 --- a/core/files/etc/supervisor/conf.d/10-supervisor.conf +++ b/core/files/etc/supervisor/conf.d/10-supervisor.conf @@ -37,3 +37,12 @@ stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 + +[program:rsyslog] +command=/usr/sbin/rsyslogd -n +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0 +stderr_logfile=/dev/stderr +stderr_logfile_maxbytes=0 +autostart=true +autorestart=true