fixed process name for cstrike server

This commit is contained in:
celso 2023-03-27 00:53:28 -03:00
parent 70eb9fedb1
commit 8f708b2873
1 changed files with 1 additions and 1 deletions

2
bot.sh
View File

@ -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