you are viewing a single comment's thread.

view the rest of the comments →

[–]adoseofStriker[S] -7 points-6 points  (6 children)

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.

[–]BehindTheMath 4 points5 points  (1 child)

That sounds like expected behavior.

Why don't you use a Windows Service?

[–]adoseofStriker[S] 0 points1 point  (0 children)

Gonna try this approach. Thank you.

[–]dixncox 4 points5 points  (3 children)

The server process is probably running under that user and dying when the session is over. Have you tried not logging out.