GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NPM-RESTART (3)

NAME

npm-restart - Restart a package

CONTENTS

Description
Note
See Also

SYNOPSIS

npm.commands.restart(packages, callback)

DESCRIPTION

This restarts a package (or multiple packages).

This runs a package’s "stop", "restart", and "start" scripts, and associated pre- and post- scripts, in the order given below:

1. prerestart
2. prestop
3. stop
4. poststop
5. restart
6. prestart
7. start
8. poststart
9. postrestart

If no version is specified, then it restarts the "active" version.

npm can restart multiple packages. Just specify multiple packages in the packages parameter.

NOTE

Note that the "restart" script is run in addition to the "stop" and "start" scripts, not instead of them.

This is the behavior as of npm major version 2. A change in this behavior will be accompanied by an increase in major version number

SEE ALSO

o npm apihelp start
o npm apihelp stop

Search for    or go to Top of page |  Section 3 |  Main Index


NPM-RESTART (3) October 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.