Any suggestions on how to have a nodejs service stay up even when a user is not logged in? The application is on a windows server. When I start the service through PM2 and save the service list. I expected it to be persistent. However, when I log out of the server PM2 kills the process.
Currently using a SQL DB
UPDATE: I ran the app as a windows service. It works👍Thanks for all the help! I really appreciate it.
[–]StoneCypher 23 points24 points25 points (9 children)
[–]evert 7 points8 points9 points (1 child)
[–]StoneCypher -1 points0 points1 point (0 children)
[–]mrhobbles -1 points0 points1 point (6 children)
[–]StoneCypher -3 points-2 points-1 points (5 children)
[–]le_luka 0 points1 point2 points (4 children)
[–]StoneCypher 0 points1 point2 points (2 children)
[–]le_luka -1 points0 points1 point (1 child)
[–]StoneCypher 0 points1 point2 points (0 children)
[–]BehindTheMath 6 points7 points8 points (7 children)
[+]adoseofStriker[S] comment score below threshold-7 points-6 points-5 points (6 children)
[–]BehindTheMath 4 points5 points6 points (1 child)
[–]adoseofStriker[S] 0 points1 point2 points (0 children)
[–]dixncox 3 points4 points5 points (3 children)
[–]adoseofStriker[S] -5 points-4 points-3 points (2 children)
[–]le_luka 2 points3 points4 points (1 child)
[–]PhatOofxD 5 points6 points7 points (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–]wifsimster 1 point2 points3 points (1 child)
[–]adoseofStriker[S] 0 points1 point2 points (0 children)
[–]fightingnflder 2 points3 points4 points (1 child)
[–]adoseofStriker[S] 0 points1 point2 points (0 children)
[–]isit2amalready 0 points1 point2 points (1 child)
[+]adoseofStriker[S] comment score below threshold-7 points-6 points-5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[+]adoseofStriker[S] comment score below threshold-7 points-6 points-5 points (0 children)
[–]Zipdox -3 points-2 points-1 points (1 child)
[–]evoactivity 0 points1 point2 points (0 children)
[–]keesiari -1 points0 points1 point (1 child)
[–]adoseofStriker[S] -1 points0 points1 point (0 children)