Merge pull request #71 from cybermaggedon/misp-enable-live

Make misp.live on by default.
Alexandre Dulaunoy 2020-01-23 13:06:19 +01:00 committed by GitHub
commit a4fd7c7a25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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 /