converting md to rest

v1.18.x
psychobunny 11 years ago
parent 1d6623dd1c
commit 320909d5fb

@ -3,9 +3,9 @@ Running NodeBB
The preferred way to start and stop NodeBB is by invoking its executable: The preferred way to start and stop NodeBB is by invoking its executable:
* `./nodebb start` Starts the NodeBB server * ``./nodebb start`` Starts the NodeBB server
* `./nodebb stop` Stops the NodeBB server * ``./nodebb stop`` Stops the NodeBB server
* Alternatively, you may use `npm start` and `npm stop` to do the same * 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. 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 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 .. code:: bash
@ -25,19 +25,19 @@ However, bear in mind that crashes will cause the NodeBB process to halt, bringi
Supervisor Process 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 .. code:: bash
$ npm install -g supervisor $ npm install -g supervisor
$ supervisor app $ 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 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 .. code:: bash

Loading…
Cancel
Save