I'm very new to server related stuff, but I'm trying to have a node.js server start automatically in a TrueNAS jail upon booting up (instead of starting the server manually through the terminal).
The most promising thing I could find is adding some kind of script to run at startup in the /etc/rc.d
directory, but I couldn't find any specific information on running a node.js server from it. Sorry if that doesn't make any sense at all.