Skip to content

Commit

Permalink
Make misp.live on by default. This isn't ideal, as it means taking an…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
cybermaggedon committed Jan 9, 2020
1 parent 7c10e68 commit 1ac95ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 /
Expand Down

0 comments on commit 1ac95ce

Please sign in to comment.