From bc13ad6b821cbd3d4ec87e1b3a361cea5dd5cd7f Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 11 Sep 2024 14:25:40 +0200 Subject: [PATCH] chore: Copy .env file to backup location during installation script --- scripts/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 843c260a1..d9e570c58 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -406,5 +406,5 @@ sleep 20 echo "Please visit http://$(curl -4s https://ifconfig.io):8000 to get started." echo -e "\nCongratulations! Your Coolify instance is ready to use.\n" -echo -e "Make sure you backup your .env file before running this script again.\n" -echo -e "You can find it in /data/coolify/source/.env\n" +cp /data/coolify/source/.env /data/coolify/source/.env.backup +echo -e "Your .env file has been copied to /data/coolify/source/.env.backup\n"