简体   繁体   中英

Run nodejs http-server as a windows service

I want to run nodejs http-server which serves a static file as a windows service which autostarts on boot. How do we keep this server running in background?

use NSSM .

You usually need a windows service to be destined for being a server, this is a service manager that works as a service and lets you make simple apps into windows services.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM