From 1ac95ce5d6c43f5ca49cfd2df464487418e547f0 Mon Sep 17 00:00:00 2001 From: Mark Adams Date: Thu, 9 Jan 2020 10:35:55 -0800 Subject: [PATCH] Make misp.live on by default. This isn't ideal, as it means taking an instance non-live will make it live again if the container restarts. That seems better than the default which is that MISP is non-live on container restart. Ideally live/non-live would be persisted in the database but that's a change in MISP. --- web/run.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/run.sh b/web/run.sh index f97f320..6a5ab70 100755 --- a/web/run.sh +++ b/web/run.sh @@ -137,6 +137,13 @@ __WELCOME__ rm -f /.firstboot.tmp fi +# Make MISP live - this isn't ideal, as it means taking an instance +# non-live will make it live again if the container restarts. That seems +# better than the default which is that MISP is non-live on container restart. +# Ideally live/non-live would be persisted in the database. +/var/www/MISP/app/Console/cake live 1 +chown www-data:www-data /var/www/MISP/app/Config/config.php* + # Start supervisord echo "Starting supervisord" cd /