Restart apache at the end of the process.

pull/4/head
Cédric Bonhomme 2017-07-06 10:51:40 +02:00
parent f2c58af7a5
commit d49197a313
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
2 changed files with 5 additions and 3 deletions

View File

@ -5,9 +5,8 @@ This script is a work in progress! Almost working :-)
TODO:
* check the GPG key generation;
* check the generation of the SSL certificate;
* check the configuration of postfix
* check the GPG key generation and the generation of the SSL certificate;
* check the configuration of postfix;
* make the background workers start on boot;
* apache.24.misp.ssl seems to be missing;
* provide more options through variables (for the gpg keys, etc.).

View File

@ -270,6 +270,9 @@ gpg --homedir $PATH_TO_MISP/.gnupg --export --armor $EMAIL_ADDRESS > $PATH_TO_MI
# To make the background workers start on boot
# !!! TODO
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"