I'm looking for a good way to run LightTPD as a service on a Windows server, but all the solutions I can find are either general-purpose shareware or quite complicated to set up.
Is there any good and easy way to accomplish this?
I don't know why this is on stack overflow, but to summarize:
There's a free tool called RunAsService. With it, you should be able to configure a
You can use winsw, a free (as in both freedom and beer) utility to run Lighttpd or any other program (Nginx, PHP-CGI, etc) as a service.
Download the winsw binary, rename it to
Of course, adjust the paths as necessary if your Lighttpd lives somewhere else.
Finally, open an elevated (as an administrator) command prompt and issue the following commands :
Of course feel free to change the service's auto start settings in