MrChausson / BeamMP-Manager

A WebApp to manage your BeamMP server made with Svelte !
MIT License
7 stars 0 forks source link

Server status not detected #1

Closed cyrilpawelko closed 5 months ago

cyrilpawelko commented 5 months ago

Since api start or stop invoke systemctl with the --user option, I've installed beammp as a user unit. It works correctly for stop, start and restart, but server status is always inactive because it does not use the --user option :

$ /usr/bin/systemctl is-active beammp
inactive
$ /usr/bin/systemctl --user is-active beammp
active
MrChausson commented 5 months ago

Hey @cyrilpawelko First of all thanks for taking interest in the Project!! As you probably have seen it is still very a work in progress and I have not even tested this part yet. But I plan on finishing the project (or at least the essentials of it) before mid june. So I will put it on my own beammp server so I can test it properly. For now I only tested on my development machine.

Anyway thanks for the feedback, I will keep this issue open so I can fix it when I get back into the project. Or if you wish to you can (I think, I'm not sure if I have configured the repo for this) create a pull request and I will accept it.

MrChausson commented 5 months ago

It has been fixed in the latest commit. Again thanks for the feedback.