ns_shutdown - Shut down NaviServer
This command shuts down the server, optionally waiting timeout seconds to let existing connections and background jobs finish. When this time limit is exceeded the server shuts down immediately.
When timeout is not specified the default or configured timeout is used (default 20). The default can be changed by the parameter shutdowntimeout in the global server parameters (section ns/parameters in the config file). When timeout it is specified, it must be an integer >= 0.
timeout Time in seconds to wait before shuting down the server
-restart send an interrupt signal to the server, leading to a non-zero exit code.
ns_shutdown ns_shutdown 30