mirror of https://github.com/MISP/misp-vagrant
Restart Apache before the update of the galaxies.
parent
ffe3f16c67
commit
52252e42f5
10
bootstrap.sh
10
bootstrap.sh
|
@ -310,9 +310,13 @@ systemctl enable workers.service > /dev/null
|
|||
systemctl restart workers.service > /dev/null
|
||||
|
||||
|
||||
echo -e "\n--- Restarting Apache ---\n"
|
||||
systemctl restart apache2 > /dev/null 2>&1
|
||||
|
||||
|
||||
echo -e "\n--- Updating the galaxies... ---\n"
|
||||
AUTH_KEY=$(mysql -u $DBUSER_MISP -p$DBPASSWORD_MISP misp -e "SELECT authkey FROM users;" | tail -1)
|
||||
curl -k -X POST -H "Authorization: $AUTH_KEY" -H "Accept: application/xml" -v http://127.0.0.1/galaxies/update > /dev/null
|
||||
curl -k -X POST -H "Authorization: $AUTH_KEY" -H "Accept: application/xml" -v http://127.0.0.1/galaxies/update > /dev/null 2>&1
|
||||
|
||||
|
||||
# echo -e "\n--- Enabling MISP new pub/sub feature (ZeroMQ)... ---\n"
|
||||
|
@ -343,10 +347,6 @@ curl -k -X POST -H "Authorization: $AUTH_KEY" -H "Accept: application/xml" -v ht
|
|||
# pip install pyzmq > /dev/null 2>&1
|
||||
|
||||
|
||||
echo -e "\n--- Restarting Apache ---\n"
|
||||
systemctl restart apache2 > /dev/null 2>&1
|
||||
|
||||
|
||||
echo -e "\n--- MISP is ready! ---\n"
|
||||
echo -e "\n--- Point your Web browser to http://127.0.0.1:5000 ---\n"
|
||||
echo -e "\n--- Default user/pass = admin@admin.test/admin ---\n"
|
||||
|
|
Loading…
Reference in New Issue