ST_SNAPSHOT.HOURLY(1)
π st_snapshot.hourly π
okay so bestie, welcome to the st_snapshot.hourly user manual (that's the manual-name part, iykyk) β¨ it's a lil page from the st_snapshot.hourly User Manual, and honestly? it's giving "small script, big responsibilities."
β¨ NAME β¨
st_snapshot.hourly β a wrapper for st_snapshot π
π¦ SYNOPSIS π¦
st_snapshot.hourly
no arguments, no drama, she just runs π
πΈ DESCRIPTION πΈ
st_snapshot.hourly is a wrapper for st_snapshot. and like, she is meant to be run from cron β that's her whole moment, that's her purpose, periodt β°
so here's the vibe check she does first: she checks whether these two files exist:
/etc/systraq/i_want_a_broken_systraq/etc/systraq/systraq_is_unconfigured
about that first one β i_want_a_broken_systraq is typically empty, bestie. if it exists, st_snapshot.hourly exits immediately. and the way that this file "breaks" systraq? yeah so systraq will no longer warn when system configuration files changes, but will remain silent π that's the whole deal, that's the tradeoff.
now for the second one β if systraq_is_unconfigured exists, its contents are displayed and st_snapshot.hourly exits. that file typically holds instructions on how to configure systraq, and an example systraq_is_unconfigured file is shipped with the systraq tarball π«Ά so it's like a lil note-to-self for future you.
and if both files are missing? iconic. then st_snapshot is called with appropriate arguments, either in "root" or in "public"-mode, depending on the ST_MODE environment variable π
so, context: since the systraq tarball behaves sanely on a fresh default install, systraq_is_unconfigured is not installed by default. however, people preparing systraq binary packages typically can make good use of this file. not me judging, that's just the lore π¦
also important: when systraq is installed from tarball the systraq cronjobs are not enabled. one typically enables them after having configured systraq, especially after the st_snapshot listfiles snapshot_pub.list, snapshot_pub.homelist, snapshot_root.list and snapshot_root.homelist in /etc/systraq are created. however β and this is the plot twist β binary systraq packages typically enable the cronjobs without enforcing one-fits-all listfiles on the user. slay for flexibility, honestly π
π ENVIRONMENT π
ST_MODEβ if set to"root", runst_snapshotin root-mode. that's it, that's the whole job, main character energy πST_SUMβ the command for calculating file checksums. e.g.sha256sum,sha512sum,sha384sum,sha224sumorsha1sum. if unset,sha256sumis used. if unset andsha256sumis not found on the system whilemd5sumis found,md5sumis used and a warning is printed. else, the script prints an error message and exits.ST_SUMis passed to and used byst_snapshotπ§
bestie listen: that fallback chain is real. noST_SUM, nosha256sum, and nomd5sumeither? that's an error message and an exit, fr fr. plan accordingly π
π FILES π
/etc/systraq/i_want_a_broken_systraq/etc/systraq/systraq_is_unconfigured
β SEE ALSO β
st_snapshot(1)- The systraq Manual.
π VERSION π
20201231 β¨
π AUTHOR π
Joost van Baal-IliΔ <joostvb-systraq-20151105@mdcc.cx> β Author. π«Ά
π COPYRIGHT π
Copyright Β© 2001-2020 Joost van Baal-IliΔ
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation.
okay that's the whole page, bestie, you ate π
this was st_snapshot.hourly from the st_snapshot.hourly User Manual, dated Uku 31 2020, and that's a wrap β go configure your systraq, mwah ππβ¨
π¦ where this page comes from
- debian bookworm: systraq 20201231-1 Β· GPL-2.0-or-later
- debian trixie: systraq 20201231-5 Β· GPL-2.0-or-later
- ubuntu jammy: systraq 20201231-1 Β· GPL-2.0-or-later
- ubuntu noble: systraq 20201231-1 Β· GPL-2.0-or-later
- ubuntu resolute: systraq 20201231-5 Β· 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