.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "TIREX-BACKEND-MANAGER 1" .TH TIREX-BACKEND-MANAGER 1 2024-05-06 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME tirex\-backend\-manager \- manages Tirex rendering backend workers .SH SYNOPSIS .IX Header "SYNOPSIS" tirex-backend-manager [OPTIONS] .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-\-help\fR 4 .IX Item "--help" Display help message. .IP "\fB\-d\fR, \fB\-\-debug\fR" 4 .IX Item "-d, --debug" Run in debug mode, and pass on the debug flag to workers .IP "\fB\-f\fR, \fB\-\-foreground\fR" 4 .IX Item "-f, --foreground" Run in foreground. E.g. when started from systemd service .IP \fB\-\-config=DIR\fR 4 .IX Item "--config=DIR" Use the DIR config directory instead of /etc/tirex. .SH DESCRIPTION .IX Header "DESCRIPTION" The backend manager starts and monitors as many backend workers as given in the configuration. The backend processes do the actual rendering of tiles. .PP The backend manager expects each worker process to send an "alive" message in regular intervals, and will kill the process if it does not do so in time. .PP The backend manager does not handle render requests in any way; these are read directly from a local UDP socket by the individual backend processes. .PP If the backend manager receives a HUP signal, it will relay this signal to all backends, causing them to exit after completing their current request. It will reload the renderer and map configuration and re-start all workers with the new configuration. .SH FILES .IX Header "FILES" .IP \fI/etc/tirex/tirex.conf\fR 4 .IX Item "/etc/tirex/tirex.conf" The configuration file. .IP \fI/etc/tirex/renderer/*.conf\fR 4 .IX Item "/etc/tirex/renderer/*.conf" Configuration files for renderers .IP \fI/etc/tirex/renderer/*/*.conf\fR 4 .IX Item "/etc/tirex/renderer/*/*.conf" Map configurations .SH DIAGNOSTICS .IX Header "DIAGNOSTICS" The backend manager logs to the \fIdaemon\fR syslog facility unless configured otherwise. In debug mode, logging is also copied to stderr. .SH "SEE ALSO" .IX Header "SEE ALSO" .SH AUTHORS .IX Header "AUTHORS" Frederik Ramm , Jochen Topf and possibly others.