From a248968d697a39ce4bc05b5485120b3176ab59e2 Mon Sep 17 00:00:00 2001 From: Andrew Martin Date: Mon, 5 May 2014 14:06:36 -0700 Subject: [PATCH] updating docs with the uid flag - no current docs document this flag, which works on 0.11.0 (and probably earlier) - found in #82 and referenced in #497 --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ba73b605..7039c255 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,9 @@ You can use forever to run any kind of script continuously (whether it is writte -f, --fifo Stream logs to stdout -n, --number Number of log lines to print --pidFile The pid file + --uid Process uid, useful as a namespace for processes (must wrap in a string) + eg. forever start "production" app.js + forever stop production --sourceDir The source directory for which SCRIPT is relative to --minUptime Minimum uptime (millis) for a script to not be considered "spinning" --spinSleepTime Time to wait (millis) between launches of a spinning script. @@ -66,7 +69,7 @@ You can use forever to run any kind of script continuously (whether it is writte -w, --watch Watch for file changes --watchDirectory Top-level directory to watch from --watchIgnore To ignore pattern when watch is enabled (multiple option is allowed) - --killSignal Support exit signal customization (default is SIGKILL), + --killSignal Support exit signal customization (default is SIGKILL), used for restarting script gracefully eg. --killSignal=SIGTERM -h, --help You're staring at it