fix: fix misc. issues (#45)

This commit is contained in:
Muhammad Atif Ali
2023-09-26 14:27:12 +03:00
committed by GitHub
parent 1e3ac8be4c
commit 34aedce094
16 changed files with 56 additions and 168 deletions

View File

@@ -1,17 +1,18 @@
#!/usr/bin/env sh
echo "Instalalting ${MODULE_NAME}..."
BOLD='\033[0;1m'
echo "$${BOLD}Installing MODULE_NAME..."
# Add code here
# Use varibles from the templatefile function in main.tf
# e.g. LOG_PATH, PORT, etc.
echo "Installation comlete!"
echo "🥳 Installation comlete!"
echo "Starting ${MODULE_NAME}..."
echo "👷 Starting MODULE_NAME in background..."
# Start the app in here
# 1. Use & to run it in background
# 2. redirct stdout and stderr to log files
./app >${LOG_PATH} 2>&1 &
echo "Sample app started!"
echo "check logs at ${LOG_PATH}"