msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
20 stars 12 forks source link

Run omSupply server without service #5041

Open andreievg opened 2 weeks ago

andreievg commented 2 weeks ago

Is your feature request related to a problem? Please describe 👀

It's hard to diagnose some issues with omSupply stand alone for Windows when it's starting as a service (no errors shown)

Describe the solution you'd like 🎁

Ability to run windows builds of omSupply without service, extra executable

Describe alternatives you've considered 💭

To reduce size of the installer we could bundle a library for omSup that both non service and service executable use.

Additional context 💌

Moneyworks Jobcode 🧰

mark-prins commented 2 weeks ago

Would it be possible instead to find a way to have errors logged? In theory any panic when the app is running will be in the server log, and there's logging to the windows event log prior to that. We just need to find a way for the service to log when dependencies aren't available.

if we can log, then there's a record of the issue, and no need to run a separate application