| 1 |
.\" Generated by Mmark Markdown Processor - mmark.miek.nl |
| 2 |
.TH "KILL" 7 "August 2026" "atomdns handlers" "atomdns authors" |
| 3 |
|
| 4 |
.SH "NAME" |
| 5 |
.PP |
| 6 |
\fIkill\fP \- stop the server after a duration |
| 7 |
|
| 8 |
.SH "DESCRIPTION" |
| 9 |
.PP |
| 10 |
\fIkill\fP stops the server after some amount of time. Its main use is to spin up a server, perform a minimal |
| 11 |
check and be certain it will shut itself down again. This minimizes the CI/CD setup that is needed, as you can |
| 12 |
just start atomdns in the background and forget about it. |
| 13 |
|
| 14 |
.PP |
| 15 |
As this takes down the entire server it doesn't matter in which handler block it is specified. |
| 16 |
|
| 17 |
.SH "SYNTAX" |
| 18 |
.PP |
| 19 |
.RS |
| 20 |
|
| 21 |
.nf |
| 22 |
kill DURATION |
| 23 |
|
| 24 |
.fi |
| 25 |
.RE |
| 26 |
|
| 27 |
.SH "EXAMPLES" |
| 28 |
.PP |
| 29 |
.RS |
| 30 |
|
| 31 |
.nf |
| 32 |
example.org { |
| 33 |
kill 10s |
| 34 |
any |
| 35 |
whoami |
| 36 |
} |
| 37 |
|
| 38 |
.fi |
| 39 |
.RE |
| 40 |
|
| 41 |
.SH "BUGS" |
| 42 |
.PP |
| 43 |
The server's shutdown handlers are not executed. |