From ed631e97c2cfb128a03ca77fb5f33337533a9447 Mon Sep 17 00:00:00 2001 From: gitea Date: Thu, 30 Nov 2023 08:30:48 +0800 Subject: [PATCH] [modify] change restart mem limit from 1000 to 500 --- update/restart_frps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update/restart_frps.sh b/update/restart_frps.sh index 2b3e43c..331a8a4 100644 --- a/update/restart_frps.sh +++ b/update/restart_frps.sh @@ -8,7 +8,7 @@ fi rss=$((rss/1024)) -if [[ $rss -gt 1000 ]]; then +if [[ $rss -gt 500 ]]; then systemctl restart frps.service fi