nginx_stage nginx¶
This command will start an NGINX process as the user as well as control this process.
sudo nginx_stage nginx [OPTIONS]
General Options¶
-
-s
<signal>
,
--signal
<signal>
¶ Send the given signal to the per-user NGINX process.
-
-N
,
--skip-nginx
¶
Skip the execution of the per-user NGINX process.
Note
Under a default installation, the possible signals are
stop/quit/reopen/reload
.
Note
If no signal is specified, then it will attempt to start the user’s per-user NGINX process.
Examples¶
To stop Bob’s NGINX process:
sudo nginx_stage nginx --user 'bob' --signal 'stop'
This sends a stop
signal to Bob’s per-user NGINX process.
If you run nginx_stage nginx --skip-nginx
, it will
only display the system command that would have been called.