From 97f8b2bc7aa13b2b0f283beb8b50f4f198c02326 Mon Sep 17 00:00:00 2001 From: Shwoomple Date: Sun, 20 Feb 2022 13:06:47 +0530 Subject: [PATCH] added random id generation to deployement-script.sh --- deployment-script.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment-script.sh b/deployment-script.sh index 84645e3..384ae68 100644 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -6,6 +6,7 @@ $(date "+%Y-%m-%d %I:%M:%S%p UTC%:z") # build the thing into a big jar with all the dependencies mvn clean compile assembly:single +cat /dev/urandom | head -c 10 | base64 > id.txt # TODO: Somehow tell a service that manages the bot to shut it down and replace it with the updated version? echo "================================================================================