mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 15:42:52 +01:00
converting md to rest
This commit is contained in:
@@ -3,9 +3,9 @@ Running NodeBB
|
||||
|
||||
The preferred way to start and stop NodeBB is by invoking its executable:
|
||||
|
||||
* `./nodebb start` Starts the NodeBB server
|
||||
* `./nodebb stop` Stops the NodeBB server
|
||||
* Alternatively, you may use `npm start` and `npm stop` to do the same
|
||||
* ``./nodebb start`` Starts the NodeBB server
|
||||
* ``./nodebb stop`` Stops the NodeBB server
|
||||
* Alternatively, you may use ``npm start`` and ``npm stop`` to do the same
|
||||
|
||||
The methods listed below are alternatives to starting NodeBB via the executable.
|
||||
|
||||
@@ -13,7 +13,7 @@ The methods listed below are alternatives to starting NodeBB via the executable.
|
||||
Simple Node.js Process
|
||||
-----------------------
|
||||
|
||||
To start NodeBB, run it with `node` (some distributions use the executable `nodejs`, please adjust accordingly):
|
||||
To start NodeBB, run it with ``node`` (some distributions use the executable ``nodejs``, please adjust accordingly):
|
||||
|
||||
.. code:: bash
|
||||
|
||||
@@ -25,19 +25,19 @@ However, bear in mind that crashes will cause the NodeBB process to halt, bringi
|
||||
Supervisor Process
|
||||
-----------------------
|
||||
|
||||
Using the [`supervisor` package](https://github.com/isaacs/node-supervisor), you can have NodeBB restart itself if it crashes:
|
||||
Using the `supervisor package <https://github.com/isaacs/node-supervisor>`_, you can have NodeBB restart itself if it crashes:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
$ npm install -g supervisor
|
||||
$ supervisor app
|
||||
|
||||
As `supervisor` by default continues to pipe output to `stdout`, it is best suited to development builds.
|
||||
As ``supervisor`` by default continues to pipe output to ``stdout``, it is best suited to development builds.
|
||||
|
||||
Forever Daemon
|
||||
-----------------------
|
||||
|
||||
Another way to keep NodeBB up is to use the [`forever` package](https://github.com/nodejitsu/forever) via the command line interface, which can monitor NodeBB and re-launch it if necessary:
|
||||
Another way to keep NodeBB up is to use the `forever package <https://github.com/nodejitsu/forever>`_ via the command line interface, which can monitor NodeBB and re-launch it if necessary:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user