mirror of
				https://github.com/zulip/docker-zulip.git
				synced 2025-11-04 05:53:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			239 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			239 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
if [ ! -f "$ZULIP_DIR/.database-initialized" ]; then
 | 
						|
    su zulip -c "$ZULIP_DIR/deployments/current/scripts/setup/initialize-database"
 | 
						|
    su zulip -c "touch $ZULIP_DIR/.database-initialized"
 | 
						|
fi
 | 
						|
 | 
						|
tail -f /var/log/zulip/*.log
 |