SLONIK_EXIT(7)
π NAME π
okay bestie, welcome to the SLONIK EXIT(7) manual page β part of the Slony-I 2.2.11 Documentation. this is all about EXIT β terminate your Slonik script with a signal. it's giving "we're done here" energy, and honestly? iconic. π
β¨ SYNOPSIS β¨
exit [ [-]ival]
π DESCRIPTION π
so like, this command says "stop everything" and terminates script execution immediately. no waiting, no "one more thing" β just done. and it doesn't just stop the script, it also rolls back every open transaction on all database connections. every single one. no cap. π«Ά
then the slonik utility will return the given value as its program termination code. so whatever number you pass in? that's what the program exits with.
β οΈ but heads up bestie: on Unix, exit statuses are restricted to the range0-255. so don't try to be extra with a bigger number. it's not gonna slay, it's just gonna wrap around or be weird. periodt.
πΈ EXAMPLE πΈ
like this, bestie:
EXIT 0;
π VERSION INFORMATION π
this command was introduced in Slony-I 1.0. so it's been serving looks since day one. π
okay that's the tea. this page is from the Slony-I 2.2.11 Documentation, dated 19 September 2024. bye bestie, go exit gracefully! π¦β¨
π¦ where this page comes from
- debian trixie: slony1-2-doc 2.2.11-6
- ubuntu questing: slony1-2-doc 2.2.11-6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms