xref: /unit/docs/man/unitd.8.in (revision 1824:e4a48cdb5d07)
11823Sartem.konev@nginx.com.\" (C) 2017-2021, NGINX, Inc.
21823Sartem.konev@nginx.com.\"
31823Sartem.konev@nginx.com.Dd March 16, 2021
41823Sartem.konev@nginx.com.Dt UNITD 8
51823Sartem.konev@nginx.com.Os
61823Sartem.konev@nginx.com.Sh NAME
71823Sartem.konev@nginx.com.Nm unitd
81823Sartem.konev@nginx.com.Nd "runs the NGINX Unit daemon"
91823Sartem.konev@nginx.com.Sh SYNOPSIS
101823Sartem.konev@nginx.com.Nm
111823Sartem.konev@nginx.com.Op Fl Fl no-daemon
121823Sartem.konev@nginx.com.Op Fl Fl control Ar socket
131823Sartem.konev@nginx.com.Op Fl Fl group Ar name
141823Sartem.konev@nginx.com.Op Fl Fl user Ar name
151823Sartem.konev@nginx.com.Op Fl Fl log Ar file
161823Sartem.konev@nginx.com.Op Fl Fl modules Ar directory
171823Sartem.konev@nginx.com.Op Fl Fl pid Ar file
181823Sartem.konev@nginx.com.Op Fl Fl state Ar directory
191823Sartem.konev@nginx.com.Nm
201823Sartem.konev@nginx.com.Op Fl h | Fl Fl help | v | Fl Fl version
211823Sartem.konev@nginx.com.Sh DESCRIPTION
221823Sartem.konev@nginx.comNGINX Unit is a polyglot app server, a reverse proxy, and a static file server
231823Sartem.konev@nginx.comfor UNIX-like systems.
241823Sartem.konev@nginx.comIt was built by
251823Sartem.konev@nginx.com.Xr nginx 8
261823Sartem.konev@nginx.comteam members from
271823Sartem.konev@nginx.comscratch to be highly efficient and fully configurable at runtime.
281823Sartem.konev@nginx.com.Sh OPTIONS
291823Sartem.konev@nginx.com.Bl -tag -width indent
301823Sartem.konev@nginx.com.It Fl h , Fl Fl help
311823Sartem.konev@nginx.comDisplays a summary of Unit's command-line options and their
321823Sartem.konev@nginx.comcompile-time defaults.
331823Sartem.konev@nginx.com.It Fl v , Fl Fl version
341823Sartem.konev@nginx.comDisplays Unit's version and the
351823Sartem.konev@nginx.com.Pa ./configure
361823Sartem.konev@nginx.comsettings it was built with.
371823Sartem.konev@nginx.com.It Fl Fl no-daemon
381823Sartem.konev@nginx.comRuns Unit in non-daemon mode.
391823Sartem.konev@nginx.com.It Fl Fl control Ar socket
401823Sartem.konev@nginx.comOverrides the control API's socket address in IPv4, IPv6,
411823Sartem.konev@nginx.comor UNIX-domain format.
421823Sartem.konev@nginx.com.It Fl Fl group Ar name , Fl Fl user Ar name
431823Sartem.konev@nginx.comOverride group name and user name used to run Unit's non-privileged processes.
441823Sartem.konev@nginx.com.It Fl Fl log Ar file
451823Sartem.konev@nginx.comOverrides the pathname for Unit's log.
461823Sartem.konev@nginx.com.It Fl Fl modules Ar directory
471823Sartem.konev@nginx.comOverrides the directory path for Unit's language modules
481823Sartem.konev@nginx.com.Po Pa *.unit.so
491823Sartem.konev@nginx.com.Pc files .
501823Sartem.konev@nginx.com.It Fl Fl pid Ar file
511823Sartem.konev@nginx.comOverrides the pathname for the PID file of Unit's main process.
521823Sartem.konev@nginx.com.It Fl Fl state Ar directory
531823Sartem.konev@nginx.comOverrides the directory path for Unit's state storage.
541823Sartem.konev@nginx.com.El
551823Sartem.konev@nginx.com.Sh EXIT STATUS
561823Sartem.konev@nginx.comExit status is 0 on success, or 1 if the daemon encounters an error.
571823Sartem.konev@nginx.com.Sh FILES
581823Sartem.konev@nginx.com.Bl -tag -width indent
591823Sartem.konev@nginx.com.It Pa %%PID_PATH%%
601823Sartem.konev@nginx.comThe PID file of Unit's main process.
611823Sartem.konev@nginx.com.It Pa %%ERROR_LOG_PATH%%
621823Sartem.konev@nginx.comA general-purpose log for diagnostics and troubleshooting.
63*1824Sartem.konev@nginx.com.El
641823Sartem.konev@nginx.com.Sh SOCKETS
651823Sartem.konev@nginx.com.Bl -tag -width indent
661823Sartem.konev@nginx.com.It Pa %%SOCKET_PATH%%
671823Sartem.konev@nginx.comThe socket address of Unit's control API.
681823Sartem.konev@nginx.com.El
691823Sartem.konev@nginx.com.Sh AUTHORS
701823Sartem.konev@nginx.com(C) 2017-2021, NGINX, Inc.
711823Sartem.konev@nginx.com.Sh SEE ALSO
721823Sartem.konev@nginx.com.Pp
731823Sartem.konev@nginx.comWebsite:
741823Sartem.konev@nginx.com.Pa https://unit.nginx.org
751823Sartem.konev@nginx.com.Pp
761823Sartem.konev@nginx.comUser mailing list:
771823Sartem.konev@nginx.com.Pa https://mailman.nginx.org/mailman/listinfo/unit
781823Sartem.konev@nginx.com.Pp
791823Sartem.konev@nginx.comGitHub:
801823Sartem.konev@nginx.com.Pa https://github.com/nginx/unit
81