fixed process name for cstrike server
This commit is contained in:
parent
70eb9fedb1
commit
8f708b2873
2
bot.sh
2
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
|
||||
|
|
Loading…
Reference in New Issue