Install as service on Windows
Opened this issue · 2 comments
morbificagent commented
Hi there,
I am trying mistserver on win at the moment.
Runns good but I have to login to windows and then manually start mistserver...
Is there a way to install this as service or even to configure it to autostart?
Many thanks
Rokamun commented
Hey Morbificagent,
Unfortunately the current Windows version of MistServer (2.18) doesn't have
a "good" method of making it a service. You could do something with a
custom service maker like nssm (https://nssm.cc/ ). We do plan to make a
more proper method in 3.0, but we're a bit off for that version. The plan
is to first get MacOS versions working then Windows as 3.0 makes a few
changes to shared memory that make it a tad harder to adapt to the way
Windows uses shared memory.
With kind regards,
Balder Viëtor
Head of Testing
…On Sun, Jun 5, 2022 at 8:15 AM morbificagent ***@***.***> wrote:
Hi there,
I am trying mistserver on win at the moment.
Runns good but I have to login to windows and then manually start
mistserver...
Is there a way to install this as service or even to configure it to
autostart?
Many thanks
—
Reply to this email directly, view it on GitHub
<#45>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN2RJA72KNTY2J23ZXNVDTVNRAYPANCNFSM5X4SB7WA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
jorbig commented
I eventually achieved this by setting up the Task Scheduler action "Start a program":
Program/script: "C:\Program Files\MistServer\MistController.exe"
Add arguments: -c "C:\path\to\your\config.json
I do hope MistServer 3 gets released for Windows soon though!