chore: fmt
							parent
							
								
									2c94c82cbf
								
							
						
					
					
						commit
						9f110e6e63
					
				@ -1,18 +1,18 @@
 | 
				
			|||||||
#!/usr/bin/env sh
 | 
					#!/usr/bin/env sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BOLD='\033[0;1m'
 | 
					BOLD='\033[0;1m'
 | 
				
			||||||
printf "$${BOLD}Installing MODULE_NAME..."
 | 
					printf "$${BOLD}Installing MODULE_NAME ...\n\n"
 | 
				
			||||||
# Add code here
 | 
					# Add code here
 | 
				
			||||||
# Use varibles from the templatefile function in main.tf
 | 
					# Use varibles from the templatefile function in main.tf
 | 
				
			||||||
# e.g. LOG_PATH, PORT, etc.
 | 
					# e.g. LOG_PATH, PORT, etc.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "🥳 Installation comlete!"
 | 
					printf "🥳 Installation comlete!\n\n"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "👷 Starting MODULE_NAME in background..."
 | 
					printf "👷 Starting MODULE_NAME in background...\n\n"
 | 
				
			||||||
# Start the app in here
 | 
					# Start the app in here
 | 
				
			||||||
# 1. Use & to run it in background
 | 
					# 1. Use & to run it in background
 | 
				
			||||||
# 2. redirct stdout and stderr to log files
 | 
					# 2. redirct stdout and stderr to log files
 | 
				
			||||||
 | 
					
 | 
				
			||||||
./app >${LOG_PATH} 2>&1 &
 | 
					./app >${LOG_PATH} 2>&1 &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "check logs at ${LOG_PATH}"
 | 
					printf "check logs at ${LOG_PATH} \n\n"
 | 
				
			||||||
 | 
				
			|||||||
					Loading…
					
					
				
		Reference in New Issue