| 
									
										
										
										
											2019-08-31 20:51:14 -07:00
										 |  |  | #!/bin/bash | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | CURRENT_DIR=$(pwd) | 
					
						
							| 
									
										
										
										
											2024-04-08 19:03:39 -05:00
										 |  |  | BUILD_DIR=../build/stage/main | 
					
						
							| 
									
										
										
										
											2019-08-31 20:51:14 -07:00
										 |  |  | CONF_DIR=$BUILD_DIR/conf | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | set -a | 
					
						
							|  |  |  | source frontend.env | 
					
						
							|  |  |  | set +a | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export JAVA_OPTS=" | 
					
						
							|  |  |  | 	-Xms512m | 
					
						
							|  |  |  | 	-Xmx1024m | 
					
						
							| 
									
										
										
										
											2021-02-10 16:10:08 -08:00
										 |  |  | 	-Dhttp.port=$PORT | 
					
						
							| 
									
										
										
										
											2019-08-31 20:51:14 -07:00
										 |  |  | 	-Dconfig.file=$CONF_DIR/application.conf | 
					
						
							| 
									
										
										
										
											2021-07-02 06:31:01 -07:00
										 |  |  | 	-Djava.security.auth.login.config=$CURRENT_DIR/jaas.conf | 
					
						
							| 
									
										
										
										
											2019-08-31 20:51:14 -07:00
										 |  |  | 	-Dlogback.configurationFile=$CURRENT_DIR/logback.xml | 
					
						
							|  |  |  | 	-Dlogback.debug=true" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-18 18:13:45 -07:00
										 |  |  | $BUILD_DIR/bin/datahub-frontend |