Service on Windows

81 views
Skip to first unread message

Scott Hathaway

unread,
Jan 16, 2014, 8:07:03 AM1/16/14
to wpn...@googlegroups.com
Love the stack in WPNXM.  How can I get all the parts to be services in Windows so that they run when someone is not logged in?

Thanks,
Scott

Jens-André Koch

unread,
Jan 18, 2014, 11:55:17 AM1/18/14
to wpn...@googlegroups.com
Hey Scott,

i'm glad you like the stack.
You might use one of the following approaches to get daemons running before a user logs in:

a) add a new task via the Windows Task Scheduler and use the Trigger event "On Start" (thats just like autostart, not a real service)

b) there is a little windows tool called "sc.exe", which might be used for installing the daemons as services

 sc create wpnxm binPath= "C:\server\wpn-xm.exe" DisplayName="WPN-XM Server Stack" start=auto

c) an alternative tool for "sc" would be "nssm".

You may find it at http://nssm.cc or https://github.com/WPN-XM/WPN-XM/tree/master/bin/nssm/
The usage guide is here... http://nssm.cc/usage
It needs to be run as administrator:
nssm install wpnxm

then use the GUI point to the executable(s) and set things up.

I hope that helps a bit.

The feature "run as service" should be in the stack out-of-the-box.
I've added it to the todo list: https://github.com/WPN-XM/WPN-XM/issues/165

Regards, Jens

Sk3y

unread,
May 8, 2014, 8:22:06 PM5/8/14
to wpn...@googlegroups.com
How is the Status? I need it for my Win2008-Server.

Grüße aus Deutschland/Germany

WPN-XM

unread,
May 9, 2014, 4:50:06 AM5/9/14
to wpn...@googlegroups.com
Hallo Marcel,

Danke für deine Anfrage. Das Ticket "Services" ist immer noch offen.
Du findest es unter
https://github.com/WPN-XM/WPN-XM/issues/165 .
Es kann gerne von dir oder einem anderen Contributor bearbeitet werden.
Ich arbeite im Moment am PHP 5.5 & 5.6 Support, sowie den entsprechenden Registries.


Welche weiteren Ideen und Vorschläge hast du, um den Stack zu verbessen?

Gruß Jens
Reply all
Reply to author
Forward
0 new messages