GameServerManagers / GameServerManagers/LinuxGSM
[Bug]: cs2server. Monitor will fail when server is actually on. Then it will send quit and restart server.
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 864
- PR merge metrics
- No merged PRs in 30d
Description
### User story
Need help to fix.
### Game
cs2server
### Linux distro
Ubuntu 22.04
### Command
command: monitor
### Further information
Monitor will fail when server is actually on. Then it will send quit and restart server.
Log shows: "PIDS with old type tmux session are running." What is it meaning?

### Relevant log output
```shell
Script log:
May 02 20:33:19.085 cs2server-2: MONITOR: INFO: Checking session: CHECKING
May 02 20:33:19.297 cs2server-2: MONITOR: ERROR: Checking session: ERROR
May 02 20:33:19.298 cs2server-2: MONITOR: ERROR: Checking session: PIDS with old type tmux session are running
May 02 20:33:19.298 cs2server-2: MONITOR: ERROR: Checking session: Killing session with the session name cs2server-2
May 02 20:33:20.971 cs2server-2: STOP: INFO: Graceful: sending "quit"
May 02 20:33:25.678 cs2server-2: STOP: PASS: Graceful: sending "quit": OK: 3 seconds
May 02 20:33:26.182 cs2server-2: STOP: INFO: tmux kill-session: cs2server-2: Flaming Rose
May 02 20:33:27.289 cs2server-2: STOP: PASS: Stopped Flaming Rose
May 02 20:33:28.327 cs2server-2: START: INFO: Using anonymous Steam login
May 02 20:33:29.036 cs2server-2: START: INFO: Rotating log files
```
### Steps to reproduce
1. crontab: * * * * * ~/cs2server-X m
2. After server runs for random period, server is restarted by monitor.
Contributor guide
Assessment
This issue has not been assessed yet.