Nodejs

A pre-configured and ready-to-use Node.js 7 web stack with Nginx.

Costruttore:

Configuration

Full settings

express_js_blank

Node.JS application boilerplate using Express framework

Settings

Application directory: /jet/app/express_js_blank
Application script: index.js
Port: 3000
Host: 0.0.0.0
Output log: /jet/log/express_js_blank/stdout.log
Error log: /jet/log/express_js_blank/stderr.log

Serice management

Start: start express_js_blank
Stop: stop express_js_blank
Restart: restart express_js_blank

nginx

Default server host

Main config: /jet/etc/nginx/nginx.conf
Additional configs: /jet/etc/nginx/conf.d
Document Root:  
Ports/Sockets: 80
Main Error Log: /jet/log/nginx/error.log

nodejs

Version: v7.10.1
Executable path: /jet/bin/node

npm

Version: 4.2.0
Executable path: /jet/bin/npm

Configuration

scope: ""
user-agent: "npm/4.2.0 node/v7.10.1 linux x64"
globalconfig: "/jet/etc/nodejs/npmrc"
cache: "/jet/run/nodejs/npm.cache"
global: true
globalignorefile: "/jet/etc/nodejs/npmignore"
init-module: "/jet/etc/nodejs/npm-init.js"
link: true
prefix: "/jet"
tmp: "/jet/tmp/nodejs/npm"

www

Default site directory: /jet/app/www/default

mail_submission

Sendmail location: /jet/bin/sendmail

config

Directories

Configurations: /jet/etc
Log files: /jet/log
Applications: /jet/app
Applications data: /jet/var
Temporary files: /jet/tmp
Persistent data: /jet/prs

init

Services control

Available services: cron exim express_js_blank monit nginx
Start all services: start
Stop all services: stop
Service commands: available|enabled|disabled|enable|disable|start|stop|status|restart servicename

monit

Settings

Version: 5.19.0
Main config: /jet/etc/monit/monitrc
Additional config files: /jet/etc/monit/monit.d
Logfile: /jet/log/monit/monit.log

Daemon management

Start: start monit
Stop: stop monit
Restart: restart monit
Reload: reload monit
Status: monit summary monit status

exim

Configuration

Version: 4.89
Default smtp port 25
Main config: /jet/etc/exim/exim.conf
Main Log: /jet/log/exim/main.log

Daemon management

Start: start exim
Stop: stop exim
Restart: restart exim