From 7ed5d26a75a9e758f6ce28ae3b0b0f149928b681 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Sun, 20 Feb 2022 08:40:57 +0100 Subject: [PATCH] fix a potential hang before it occurs --- deployment-script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment-script.sh b/deployment-script.sh index 384ae68..f662b12 100644 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -6,7 +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 +dd if=/dev/urandom bs=1 count=20 | base64 > id.txt # TODO: Somehow tell a service that manages the bot to shut it down and replace it with the updated version? echo "================================================================================