init.d script for node.js for debian
✓ Published0🌍 Public
Aalessioalex
Last edited Jul 3, 2011
Created on Jul 4, 2011
This example presents a Debian init script for running Node.js server applications as background daemons. The script uses the standard `/etc/init.d` skeleton and LSB init headers to define start/stop behavior across runlevels. It launches the app via the `nave` node version manager, specifying the node version and server path in `DAEMON_ARGS`, while supporting automatic PID file creation, user switching via `--chuid`, and optional integration with `update-rc.d` for boot-time management.
AI-generated description