add time tracking
This commit is contained in:
@@ -10,6 +10,9 @@ fi
|
||||
#set script directory
|
||||
scriptdir="$(dirname "$(realpath "$0")")"
|
||||
|
||||
# Capture the start time (Unix timestamp)
|
||||
START_TIME=$(date +%s)
|
||||
|
||||
# recursive replace function
|
||||
replace_string_recursive() {
|
||||
local DIRECTORY="$1"
|
||||
@@ -460,5 +463,11 @@ echo -e "${cyan}filebrowser${nc} has been launched from http://browser.$domain,
|
||||
echo -e "${cyan}bookstack${nc} has been launched from http://docs.$domain, log in with email 'admin@admin.com' and password 'password', then reset this account to use $adminemail and your password."
|
||||
echo -e "${cyan}Nginx Proxy Manager${nc} has been installed and launched. go to http://proxy.$domain and configure your username and password"
|
||||
echo -e "${cyan}Dockge${nc} has been installed and launched. go to http://docker.$domain and configure your username and password"
|
||||
echo ""
|
||||
# Capture the end time (Unix timestamp)
|
||||
END_TIME=$(date +%s)
|
||||
|
||||
# Calculate the elapsed time
|
||||
ELAPSED_TIME=$((END_TIME - START_TIME))
|
||||
echo "Script took $ELAPSED_TIME seconds to complete."
|
||||
echo "please reboot before further use"
|
||||
Reference in New Issue
Block a user