Linuxgsm: Ark server shutdown error

Created on 24 Feb 2017  路  5Comments  路  Source: GameServerManagers/LinuxGSM

lgsm/functions/command_stop.sh: line 275: [: missing]'`
When running ./arkserver stop

https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/command_stop.sh#L275

bug

All 5 comments

I can confirm.

Easy fix with:

if [ "${pid}" -gt 1 ]&&[ "${pid}" -le "$(cat /proc/sys/kernel/pid_max)" ]; then

(and yes, i confirm the bug, thanks for reporting)

can confirm, fix works. does look like graceful shutdown fails, but it should stop after...

EDIT: did a full restart of Ark server, let it run for a few min then stopped it. Had no issues with stopping. Even had the graceful stop... Good fix @UltimateByte thanks

Yeah, during my testing, I noticed that you need to wait for the server to be (fully) started in order for it to stop clean and fast.
Next release will fix this issue.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings