GOTCTL(8)
π GOTCTL π
okay so bestie, welcome to GOTCTL(8), straight outta the System Manager's Manual section β yes she's a section 8 girlie, admin-coded, main character energy fr fr. Let's get into it. π
πΈ NAME πΈ
gotctl β control the Game of Trees Daemon. that's it, that's the job. she's the remote control, gotd(8) is the TV. πΊβ¨
β¨ SYNOPSIS β¨
gotctl [-hV] [-f path] command [arg ...]
look at her. so compact. so powerful. the way that a synopsis can just say things π
π¦ DESCRIPTION π¦
so like, gotctl controls the gotd(8) daemon. that's the whole vibe. she's the little buddy who talks to the big daemon for you. π«Ά
π the options, bestie
the options for gotctl are as follows:
-hβ display usage information and exit immediately. she shows you the manual and dips. iconic. π-fpathβ set the path to the unix socket which gotd(8) is listening on. if you don't specify it, the default path/var/run/gotd.sockgets used. so if you never touch this flag, she already knows where to find her girl. π§-V,--versionβ display program version and exit immediately. she says hi, tells you what version she is, and leaves. no small talk. π
π the commands, bestie
the commands for gotctl are as follows:
infoβ display information about a running gotd(8) instance. β οΈ this operation requires root privileges, so like, don't try it as your regular self, she will simply not be doing that.stopβ stop a running gotd(8) instance. β οΈ this operation requires root privileges too. you are ending her. respectfully. πreload [-c config-file] [-n] [-s secrets]β reload a running gotd(8) instance. gotd(8) will relaunch with an updated configuration read from the provided configuration files. the previous instance of gotd(8) will continue to serve existing client connections and then exit. so it's not a hard reboot, it's a graceful little handoff β old girl finishes her clients, new girl takes over. ate. π₯
β οΈ this operation requires root privileges. (yes again. root privileges are the price of admission around here.)
the options for gotctl reload are as follows:
-fconfig-fileβ set the path to the configuration file. if you don't specify it, the file/etc/gotd.confwill be used. (heads up bestie: the synopsis above writes this one as-cand this list writes it as-fβ I'm just the messenger, I don't make the rules π)-nβ only check the configuration files for validity. like a vibe check but for your config. she doesn't do anything, she just looks. π-ssecretsβ set the path to the secrets file. if you don't specify it, the file/etc/gotd-secrets.confwill be used if it exists. π€« if it doesn't exist, well, she moves on.
π SEE ALSO π
go read those too, they're literally the same friend group. π«Ά
π AUTHORS π
Stefan Sperling <stsp@openbsd.org>
thank you Stefan, king behaviour, we love a credited author. π
and that's the whole page, bestie β brought to you by Debian, dated $Mdocdate$, and yes she is still GOTCTL(8) at the bottom like always. periodt. π
β¨πΈ
π¦ where this page comes from
- alpine 3.24: got-doc 0.126-r0 Β· ISC
- debian trixie: gotd 0.111-1 Β· ISC
- nixos 26.05: got 0.125
- nixpkgs unstable: got 0.129
- ubuntu questing: gotd 0.111-1
- ubuntu resolute: gotd 0.119-1 Β· ISC
- ubuntu stonking: gotd 0.126-1build1 Β· ISC
- Copyright (c) 2022 Stefan Sperling
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms