mirror of https://github.com/MISP/misp-docker
				
				
				
			Merge pull request #71 from cybermaggedon/misp-enable-live
Make misp.live on by default.
						commit
						a4fd7c7a25
					
				| 
						 | 
					@ -137,6 +137,13 @@ __WELCOME__
 | 
				
			||||||
        rm -f /.firstboot.tmp
 | 
					        rm -f /.firstboot.tmp
 | 
				
			||||||
fi
 | 
					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
 | 
					# Start supervisord
 | 
				
			||||||
echo "Starting supervisord"
 | 
					echo "Starting supervisord"
 | 
				
			||||||
cd /
 | 
					cd /
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue