Daemon init script for node.js based app/server (DEBIAN/UBUNTU)
✓ Published0🌍 Public
Aalessioalex
Last edited Dec 4, 2010
Created on Jun 20, 2011
This example presents a Debian/Ubuntu init script for running a Node.js-based application or server as a daemon. It shows the configuration of essential parameters such as the executable path, user/group ownership, and PID file location, along with standard LSB init directives for start/stop ordering. The script uses shell scripting and Debian’s update-rc.d system to manage the daemon lifecycle. It highlights the practical steps—setting paths, adjusting run directories, and handling symlinks—for deploying a Node.js process under SysVinit.
AI-generated description