When main.py initializes the subprocess returns an output of 'No such
device' but it doesn't throw any exception, for some reason...?
So, the output was of course returned to the is_running process and
since it wasn't "None" it though the interface was in the 'running'
state.
The server interface wasn't updated in the database when it got stopped.
Which led to 'is_running' was always set to true, if the server has been
started once.
Also fixed a copy-paste issue, which didn't affect the code
When main.py initializes the subprocess returns an output of 'No such
device' but it doesn't throw any exception, for some reason...?
So, the output was of course returned to the is_running process and
since it wasn't "None" it though the interface was in the 'running'
state.
The server interface wasn't updated in the database when it got stopped.
Which led to 'is_running' was always set to true, if the server has been
started once.
Also fixed a copy-paste issue, which didn't affect the code