added one more line to stdout when nodebb status is invoked, or nodebb web installer finishes

This commit is contained in:
Julian Lam
2015-05-25 14:47:54 -04:00
parent a0a8d328d0
commit fc2efb0c83
2 changed files with 2 additions and 0 deletions

View File

@@ -106,6 +106,7 @@ function launch(req, res) {
process.stdout.write('\nStarting NodeBB\n');
process.stdout.write(' "./nodebb stop" to stop the NodeBB server\n');
process.stdout.write(' "./nodebb log" to view server output\n');
process.stdout.write(' "./nodebb restart" to restart NodeBB\n');
child.unref();
process.exit(0);

1
nodebb
View File

@@ -28,6 +28,7 @@ case "$1" in
echo "Starting NodeBB";
echo " \"./nodebb stop\" to stop the NodeBB server";
echo " \"./nodebb log\" to view server output";
echo " \"./nodebb restart\" to restart NodeBB";
# Start the loader daemon
"$node" loader "$@"