mirror of https://github.com/MISP/misp-docker
Merge pull request #14 from focheur91300/patch-1
Update run.sh
commit
9eccd741f9
|
@ -91,7 +91,7 @@ if [ -r /.firstboot.tmp ]; then
|
|||
cd /var/www/MISP/app/Config
|
||||
cp -a database.default.php database.php
|
||||
sed -i "s/localhost/$MYSQL_HOST/" database.php
|
||||
sed -i "s/db\s*login/$MYSQL_DATABASE/" database.php
|
||||
sed -i "s/db\s*login/$MYSQL_USER/" database.php
|
||||
sed -i "s/8889/3306/" database.php
|
||||
sed -i "s/db\s*password/$MYSQL_PASSWORD/" database.php
|
||||
|
||||
|
@ -122,6 +122,7 @@ Passphrase: $MISP_ADMIN_PASSPHRASE
|
|||
GPGEOF
|
||||
sudo -u www-data gpg --homedir /var/www/MISP/.gnupg --gen-key --batch /tmp/gpg.tmp >>/tmp/install.log
|
||||
rm -f /tmp/gpg.tmp
|
||||
sudo -u www-data gpg --homedir /var/www/MISP/.gnupg --export --armor $MISP_ADMIN_EMAIL > /var/www/MISP/app/webroot/gpg.asc"
|
||||
fi
|
||||
|
||||
# Display tips
|
||||
|
|
Loading…
Reference in New Issue