TIREX-SEND(1)
π« NAME π«
okay bestie, gather round β this is tirex-send, and its whole ~thing~ is sending messages to a tirex daemon. that's it. that's the job. π
β¨ SYNOPSIS β¨
tirex-send [OPTIONS] TYPE [KEY=VALUE ...]
π OPTIONS π
-h,--helpβ shows you the help message. your lil safety net fr.-d,--debugβ runs in debug mode, and ngl this one's lowkey the bestie move: you actually get to see the messages being sent and received. πβ¨-c,--config=DIRβ use the config directory DIR instead of/etc/tirex. she's got opinions about where her config lives π-t,--to=DESTINATIONβ talk to DESTINATION, which can be'master'(the default, obvs),'syncd', or a port number. pick your girlie. π«Ά-w,--wait=SECONDSβ wait SECONDS for the answer after sending the message. default is5seconds. if you set it to0, she does NOT wait for an answer at all, periodt. and heads up: that0is the default when the destination is set tosyncd.
πΈ DESCRIPTION πΈ
tirex-send sends a message through a UDP socket to a tirex daemon running on the local machine, and then waits for the answer. it's giving "hey are you up?" energy. you can use it to check whether a daemon is running, to activate debugging in the daemon, to send a render request, etc. versatile queen. π
messages normally go to the tirex-master daemon, but you can also send them to a sync daemon or to one of the rendering backends. slay, choices.
you HAVE to give the TYPE of the message on the command line, and then optionally some fields in the format KEY=VALUE. no type, no message, that's the vibe check. π«
π MESSAGES FOR MASTER π
these are the messages you can send to a master daemon:
pingβ check whether the server is alive. the classic "u up?" πdebugβ activate debugging in the daemon.nodebugβ deactivate debugging in the daemon. (the debug era has ended, we mourn π₯)quitβ quit the server right now. and bestie, this one is unclean! β οΈshutdownβ clean shutdown. heads up: this is (no yet implemented XXX). yeah. she's not real yet. πreload_configβ reload renderer and map config. glow-up time β¨reset_max_queue_sizeβ reset the max queue size indicator in shared memory.stop_rendering_bucketβ stop feeding jobs from a bucket to the renderer. currently rendering jobs are unaffected, so no panic. give the name of the bucket as"bucket=NAME".continue_rendering_bucketβ continue rendering jobs from this bucket. give the name of the bucket as"bucket=NAME". we're so back π«Άmetatile_enqueue_requestβ add metatile to job queue.metatile_remove_requestβ remove job from queue.
π MESSAGES FOR SYNCD π
these are the ones you can send to a syncd server:
metatile_render_requestβ syncs the metatile file. keeping everything in sync, no cap. π
π¦ MESSAGES TO BACKENDS π¦
and these are the ones you can send to a rendering backend:
metatile_render_requestβ renders the metatile requested. do the thing, backend, do the thing. π¨π₯
π FILES π
/etc/tirex/tirex.confβ the configuration file. the blueprint. the lore. π
π DIAGNOSTICS π
tirex-send returns:
0if the message was answered with'ok',1if the message was answered with an error,2if the error was'unknown_message_type',3if the message could not be sent or if there was a timeout waiting for the answer,4if there was an error parsing the command line.
π§ SEE ALSO π§
<http://wiki.openstreetmap.org/wiki/Tirex> β go read the wiki, bestie, iykyk π
π AUTHORS π
Frederik Ramm <frederik.ramm@geofabrik.de>, Jochen Topf <jochen.topf@geofabrik.de> and possibly others. iconic lineup honestly, we stan. π«Ά
and that's the whole page, babes! π this gorgeous piece of documentation is brought to you by perl v5.40.1, dated 2026-08-09, living under the TIREX-SEND(1) title in the User Contributed Perl Documentation section. mwah, go send some messages. π
β¨
π¦ where this page comes from
- ubuntu stonking: tirex 0.8.0+ds-2build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms