Skip to content

Improving the monitor function #610

@JimTR

Description

@JimTR

The web interface checks on load if the server is running via checking a) there is a tmux session for the server and a query to the server (via php gameq api ) if both are true we are running ... so if tmux = true & gameq = false = dead server, if dead run 'server file monitor' on the server however 'server file monitor' returns
unix
however the server is still crashed
servermon

to fix this I have to send the restart command rather than the monitor command ... so how is monitor returning OK when in it has really crashed ?
Note: This is one of the last functions to adjust but currently is totally stock

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions