improve .sample

pull/45/head
Muhammad Atif Ali 2 years ago committed by GitHub
parent 9fd4532729
commit e446e598fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,18 +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 "MODULE_NAME Started!"
echo "check logs at ${LOG_PATH}"

Loading…
Cancel
Save