From 791ed382dbc06a1691f46e8fe08d9dd88e48a5ec Mon Sep 17 00:00:00 2001 From: celso Date: Mon, 27 Mar 2023 00:53:28 -0300 Subject: [PATCH] fixed process name for cstrike server --- bot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.sh b/bot.sh index 455cee5..86e1877 100755 --- a/bot.sh +++ b/bot.sh @@ -42,7 +42,7 @@ while [ "${1}" == "start" ]; do ps -w -w -U syncplay -o args= | grep "syncplay-server" >/dev/null \ && __syncplay_status="online" || __syncplay_status="offline" editmsg "${curmsg[chat_id]}" "${curmsg[msg_id]}" "checking again..." - ps -w -w -U steam -o args= | grep "hlds_run" >/dev/null \ + ps -w -w -U steam -o args= | grep "hlds_linux" >/dev/null \ && __cstrike_status="online" || __cstrike_status="offline" editmsg "${curmsg[chat_id]}" "${curmsg[msg_id]}" "${__ip}%0Asyncplay(${__syncplay_status}): port 60000%0Acstrike(${__cstrike_status}): port 64000" "${inline_kbd}" unset curmsg