pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/oOthkOo/node-start-stop-script

adf21fe337.css" /> GitHub - oOthkOo/node-start-stop-script: A Ubuntu start-stop-daemon script to restart NodeJS server in a easy way
Skip to content

oOthkOo/node-start-stop-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu NodeJS daemon script

SlugBay Badge

A Ubuntu script to daemonize NodeJS server in a easy way. Features

  • Ubuntu compatible
  • Stop NodeJS properly
  • LOG file support
  • PID file support
  • User uid:gid support

Configuration

Change this parameter value in node-server script : (ex: user:user)

DAEMON_USER="{your-user-uid:your-user-gid}"

Change theses parameters value in node-exec script : (ex: /var/lib/node)

DAEMON_APP_DIR="{your-app-directory}"

Install

$ sudo cp node-server node-exec /etc/init.d/
$ sudo cd /etc/init.d/
$ sudo chmod +x node-server node-exec
$ sudo update-rc.d node-server defaults

Usage

/etc/init.d/node-server {start|stop|status|restart|force-reload}

$ sudo /etc/init.d/node-server start
$ sudo /etc/init.d/node-server stop
$ sudo /etc/init.d/node-server restart

Uninstal

$ sudo cd /etc/init.d/
$ sudo update-rc.d -f node-server remove
$ sudo rm -f /etc/init.d/node-exec

About

A Ubuntu start-stop-daemon script to restart NodeJS server in a easy way

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy