Skip to content

[Feature] Implementing ServiceMain in Server.exe? #73

@TLeonardUK

Description

@TLeonardUK

Discussed in https://github.com/TLeonardUK/ds3os/discussions/72

Originally posted by rscales2929 February 1, 2022
Hi, are there any plans to implement ServiceMain in Server.exe, allowing it to run as a Windows service? I'm not a professional C++ dev, but it seems like it would fit right into Entry.cpp.

Right now you can get a t2.micro Amazon AWS EC2 Windows Server 2019 instance for free, meaning those inclined to put in the leg work can set up a hosted DS3 Open Server. They can keep it running for 750 hours/month at no cost. To me, this is infinitely preferable to opening my personal computer to the Internet.

I used NSSM to create a wrapper for Server.exe on my EC2 instance, but being able to run DS3OS directly as a service would be preferable. (Btw, happy to share my AMI for those interested in spinning up their own instances.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions