mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Update --signal usage help
This includes `ldm` and `term`. Signed-off-by: Byron Ruth <b@devel.io>
This commit is contained in:
2
main.go
2
main.go
@@ -37,7 +37,7 @@ Server Options:
|
||||
-ms,--https_port <port> Use port for https monitoring
|
||||
-c, --config <file> Configuration file
|
||||
-t Test configuration and exit
|
||||
-sl,--signal <signal>[=<pid>] Send signal to nats-server process (stop, quit, reopen, reload)
|
||||
-sl,--signal <signal>[=<pid>] Send signal to nats-server process (ldm, stop, quit, term, reopen, reload)
|
||||
pid> can be either a PID (e.g. 1) or the path to a PID file (e.g. /var/run/nats-server.pid)
|
||||
--client_advertise <string> Client URL to advertise to other servers
|
||||
--ports_file_dir <dir> Creates a ports file in the specified directory (<executable_name>_<pid>.ports).
|
||||
|
||||
@@ -4669,8 +4669,8 @@ func ConfigureOptions(fs *flag.FlagSet, args []string, printVersion, printHelp,
|
||||
fs.StringVar(&configFile, "c", "", "Configuration file.")
|
||||
fs.StringVar(&configFile, "config", "", "Configuration file.")
|
||||
fs.BoolVar(&opts.CheckConfig, "t", false, "Check configuration and exit.")
|
||||
fs.StringVar(&signal, "sl", "", "Send signal to nats-server process (stop, quit, reopen, reload).")
|
||||
fs.StringVar(&signal, "signal", "", "Send signal to nats-server process (stop, quit, reopen, reload).")
|
||||
fs.StringVar(&signal, "sl", "", "Send signal to nats-server process (ldm, stop, quit, term, reopen, reload).")
|
||||
fs.StringVar(&signal, "signal", "", "Send signal to nats-server process (ldm, stop, quit, term, reopen, reload).")
|
||||
fs.StringVar(&opts.PidFile, "P", "", "File to store process pid.")
|
||||
fs.StringVar(&opts.PidFile, "pid", "", "File to store process pid.")
|
||||
fs.StringVar(&opts.PortsFileDir, "ports_file_dir", "", "Creates a ports file in the specified directory (<executable_name>_<pid>.ports).")
|
||||
|
||||
Reference in New Issue
Block a user