Hi folks,
again I have a question about express and use on a root Server.
I wrote an simple API Interface to test some software on a root Server.
The application/index.js is started by daemontools, to always have it activated.
So, daemontools keep the API reachable.
But what sometimes happends now on API calls is, that the API is reachable, but doesn't do anything. It just restarts.
Log is empty in this case. Just a line, that my API Application restarted.
When i start the API by "hand" as root user i couldn't reproduce this error.
I read, that it is generally better not start to node apps as root-User.
Hope, somebody helps and understood of course.