diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2023-05-10 10:29:16 -0700 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2023-05-10 10:29:16 -0700 |
commit | 69235c513277c64b513447d9b92c3c03d616f577 (patch) | |
tree | 0780c92ba28d92b547c85ea0bee5e3040e14dee2 /docs/man/man8/unitd.8.in | |
parent | b9bc222021e77bbdfb12576b3e315b962cf6b399 (diff) | |
parent | faf97dc06058de1c929af33a68adb34d3932b374 (diff) | |
download | unit-1.30.0-1.tar.gz unit-1.30.0-1.tar.bz2 |
Merged with the default branch.1.30.0-1
Diffstat (limited to 'docs/man/man8/unitd.8.in')
-rw-r--r-- | docs/man/man8/unitd.8.in | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/docs/man/man8/unitd.8.in b/docs/man/man8/unitd.8.in new file mode 100644 index 00000000..a43e671f --- /dev/null +++ b/docs/man/man8/unitd.8.in @@ -0,0 +1,78 @@ +.\" (C) 2017-2021, NGINX, Inc. +.\" +.Dd 2023-04-26 +.Dt unitd 8 +.Os NGINX Unit +.Sh Name +.Nm unitd +.Nd "runs the NGINX Unit daemon" +.Sh Synopsis +.Nm +.Op Fl Fl no-daemon +.Op Fl Fl control Ar socket +.Op Fl Fl group Ar name +.Op Fl Fl user Ar name +.Op Fl Fl log Ar file +.Op Fl Fl modulesdir Ar directory +.Op Fl Fl pid Ar file +.Op Fl Fl statedir Ar directory +.Nm +.Op Fl h | Fl Fl help | Fl Fl version +.Sh Description +NGINX Unit is a polyglot app server, a reverse proxy, and a static file server +for UNIX-like systems. +It was built by +.Xr nginx 8 +team members from +scratch to be highly efficient and fully configurable at runtime. +.Sh Options +.Bl -tag -width indent +.It Fl h , Fl Fl help +Displays a summary of Unit's command-line options and their +compile-time defaults. +.It Fl Fl version +Displays Unit's version and the +.Pa ./configure +settings it was built with. +.It Fl Fl no-daemon +Runs Unit in non-daemon mode. +.It Fl Fl control Ar socket +Overrides the control API's socket address in IPv4, IPv6, +or UNIX-domain format. +.It Fl Fl group Ar name , Fl Fl user Ar name +Override group name and user name used to run Unit's non-privileged processes. +.It Fl Fl log Ar file +Overrides the pathname for Unit's log. +.It Fl Fl modulesdir Ar directory +Overrides the directory path for Unit's language modules +.Po Pa *.unit.so +.Pc files . +.It Fl Fl pid Ar file +Overrides the pathname for the PID file of Unit's main process. +.It Fl Fl statedir Ar directory +Overrides the directory path for Unit's state storage. +.El +.Sh Exit status +Exit status is 0 on success, or 1 if the daemon encounters an error. +.Sh Files +.Bl -tag -width indent +.It Pa %%PID_PATH%% +The PID file of Unit's main process. +.It Pa %%ERROR_LOG_PATH%% +A general-purpose log for diagnostics and troubleshooting. +.El +.Sh Sockets +.Bl -tag -width indent +.It Pa %%SOCKET_PATH%% +The socket address of Unit's control API. +.El +.Sh Copyright +(C) 2017-2023, NGINX, Inc. +.Pp +SPDX-License-Identifier: Apache-2.0 +.Sh See also +.Lk https://unit.nginx.org Website +.Pp +.Lk https://mailman.nginx.org/mailman/listinfo/unit "User mailing list" +.Pp +.Lk https://github.com/nginx/unit GitHub |