WATCHCATD.CONF(5)

πŸ“¦ version 1.2.1, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– NAME πŸ’–

okay so bestie, welcome to WATCHCATD.CONF(5) β€” this is the manual for the config file of watchcatd(8). yeah. the whole file. it's a whole thing and we're gonna read it together 🫢


🌸 DESCRIPTION 🌸

This file is where all the configuration info for the watchcat(8) daemon lives. That's it, that's the file.

Some ground rules, no cap:

  • Every option goes on its own line. One option per line, do not group them, do not be cute about it.
  • Comments start with a # and they run all the way to the end of the line.
  • Blank spaces and empty lines? Ignored. Ghosted. They don't matter πŸ’…

✨ OPTIONS ✨

Here's everything you can put in there:

🌈 Global options

This bit affects watchcatd(8) as a whole, like the whole entire vibe.

  • realtime = <true|false> β€” Turns real-time mode on or off. When real-time mode is on, watchcatd(8) locks itself into memory so it is never swapped out. It's giving main character energy, it refuses to be paged out 😀
  • priority = <schedule priority> β€” Sets the schedule priority for realtime mode. Lowkey important: this option has no effect if realtime is set to false. Like, none. Zero. It's just sitting there.
  • user = <username> β€” Defines the name of the unprivileged user that watchcatd(8) will run as. This user's home directory gets used for chroot, and all of their groups get applied. slay πŸŽ€

πŸ‘‘ Master section

This section defines options that affect the master process of watchcatd(8). The boss. The parent. The one in charge.

  • master_debug_level = <debug level> β€” Sets the debug level for the master process. It can be the sum of zero or more of the values below, which lands you on a number between 0 and 63.
    • 1 β€” Security logs (low volume)
    • 2 β€” Sent signal logs (moderate to high volume)
    • 4 β€” Failure to send signal logs (low volume)
    • 8 β€” Failure on socket read logs (low volume)
    • 16 β€” Child death logs (low volume)
    • 32 β€” Child finishing logs (low volume)
  • master_pid_file = <file name> β€” The file where the server writes its process ID into, or the directory where it will be created. Yes bestie, file or directory, it handles both πŸ¦‹

🧚 Slave section

This section defines options that affect the slave process of watchcatd(8). The worker bee. The one doing the actual labor.

  • slave_debug_level = <debug level> β€” Sets the debug level for the slave process. Again, it can be the sum of zero or more of the values below, giving you a number between 0 and 2015.
    • 1 β€” Creation/termination of a cat process logs (high volume)
    • 2 β€” Header parsing error logs (high volume)
    • 4 β€” Communication failure with an existing cat. Basically this means socket errors (high volume)
    • 8 β€” Communication timeout logs (low volume)
    • 16 β€” Security logs (low volume)
    • 64 β€” Critical failure logs (low volume)
    • 128 β€” Warning logs (low to moderate volume)
    • 256 β€” Connection attempt logs (low to moderate volume)
    • 512 β€” Successful connection logs (high volume)
    • 1024 β€” Successful fetching of Process ID logs (high volume)
Not me having to tell you this: the value 32 currently has no use. It's just vibing there. Don't count on it πŸ’€
  • slave_device = <device> β€” Defines the absolute path for the watchcat device.
  • slave_max_connections = <max. connections> β€” Defines the maximum number of client connections that the slave will handle.
  • slave_max_connections_per_pid = <max. per pid> β€” Defines the maximum number of connections per client that the slave will handle. Use zero for unlimited. no cap, go wild πŸ“

🌟 EXAMPLE 🌟

There's a complete example configuration file in /etc/watchcatd.conf. It is included with this package. Free real estate, bestie, go read it πŸŽ€


πŸ“ FILES πŸ“

  • /etc/watchcatd.conf β€” The watchcatd(8) configuration file. the one. the only. the icon πŸ’…

πŸ” SEE ALSO πŸ”


and that's the whole page, bestie πŸ’œ this was WATCHCATD.CONF from January 2004, section 5 of the manual. go forth and configure responsibly, ily 🫢✨

πŸ“¦ where this page comes from