From b5bf2c1de6f63c757a21770d88f54f53607fd2ed Mon Sep 17 00:00:00 2001 From: snowykami Date: Sat, 5 Oct 2024 23:08:40 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E4=BF=AE=E5=A4=8D=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E6=89=A7=E8=A1=8C=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy-cn.sh | 2 +- deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy-cn.sh b/deploy-cn.sh index d533273..2bab13a 100755 --- a/deploy-cn.sh +++ b/deploy-cn.sh @@ -75,7 +75,7 @@ echo "Creating the systemd service" # generate random id # shellcheck disable=SC2002 -id=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) +id=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1) bash -c "cat < /etc/systemd/system/server-status-client.service [Unit] diff --git a/deploy.sh b/deploy.sh index 7f2d192..8c7242e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -74,7 +74,7 @@ echo "Creating the systemd service" # generate random id # shellcheck disable=SC2002 -id=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) +id=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1) bash -c "cat < /etc/systemd/system/server-status-client.service [Unit]