mirror of https://github.com/MISP/misp-docker
17 lines
358 B
Bash
Executable File
17 lines
358 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# MISP docker startup script
|
|
# Steven Goossens - steven@teamg.be
|
|
|
|
set -e
|
|
git pull /var/www/MISP
|
|
|
|
# Make MISP live
|
|
/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 /
|
|
exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
|