summaryrefslogtreecommitdiffhomepage
path: root/docs/man
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/man/man8/unitd.8.in (renamed from docs/man/unitd.8.in)48
1 files changed, 23 insertions, 25 deletions
diff --git a/docs/man/unitd.8.in b/docs/man/man8/unitd.8.in
index 46182781..a43e671f 100644
--- a/docs/man/unitd.8.in
+++ b/docs/man/man8/unitd.8.in
@@ -1,36 +1,36 @@
.\" (C) 2017-2021, NGINX, Inc.
.\"
-.Dd March 16, 2021
-.Dt UNITD 8
-.Os
-.Sh NAME
+.Dd 2023-04-26
+.Dt unitd 8
+.Os NGINX Unit
+.Sh Name
.Nm unitd
.Nd "runs the NGINX Unit daemon"
-.Sh SYNOPSIS
+.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 modules Ar directory
+.Op Fl Fl modulesdir Ar directory
.Op Fl Fl pid Ar file
-.Op Fl Fl state Ar directory
+.Op Fl Fl statedir Ar directory
.Nm
-.Op Fl h | Fl Fl help | v | Fl Fl version
-.Sh DESCRIPTION
+.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
+.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 v , Fl Fl version
+.It Fl Fl version
Displays Unit's version and the
.Pa ./configure
settings it was built with.
@@ -43,38 +43,36 @@ or UNIX-domain format.
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 modules Ar directory
+.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 state Ar directory
+.It Fl Fl statedir Ar directory
Overrides the directory path for Unit's state storage.
.El
-.Sh EXIT STATUS
+.Sh Exit status
Exit status is 0 on success, or 1 if the daemon encounters an error.
-.Sh FILES
+.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
+.Sh Sockets
.Bl -tag -width indent
.It Pa %%SOCKET_PATH%%
The socket address of Unit's control API.
.El
-.Sh AUTHORS
-(C) 2017-2021, NGINX, Inc.
-.Sh SEE ALSO
+.Sh Copyright
+(C) 2017-2023, NGINX, Inc.
.Pp
-Website:
-.Pa https://unit.nginx.org
+SPDX-License-Identifier: Apache-2.0
+.Sh See also
+.Lk https://unit.nginx.org Website
.Pp
-User mailing list:
-.Pa https://mailman.nginx.org/mailman/listinfo/unit
+.Lk https://mailman.nginx.org/mailman/listinfo/unit "User mailing list"
.Pp
-GitHub:
-.Pa https://github.com/nginx/unit
+.Lk https://github.com/nginx/unit GitHub