-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}" |