S6-RC-DRYRUN(8)

πŸ“¦ version 0.7.0.0, in nixpkgs unstable

πŸ’– S6-RC-DRYRUN(8) πŸ’–

System Manager's Manual, but make it group chat. Bestie, this is the tiny helper that tells you what s6-rc would have done, and it is lowkey iconic. πŸ’…

✨ NAME ✨

s6-rc-dryrun β€” command wrapper and nullifier. It's giving "Unix echo command, but with main character energy." 🫢

🌸 SYNOPSIS 🌸

s6-rc-dryrun [-v verbosity] [-t timeout] cmd...

πŸ¦‹ DESCRIPTION πŸ¦‹

<pink>s6-rc-dryrun</pink> is a command wrapper and nullifier, roughly equivalent to the Unix <mint>echo</mint> command. When run, it simply prints its arguments to stdout. No cap.

Bestie, listen: s6-rc-dryrun is not meant to be used directly. It's internally called by s6-rc(8) when given the -n option. That's its whole job. πŸ™ˆ

When a dry-running <purple>s6-rc(8)</purple> instance wants to change the system state by spawning a command cmd, it spawns <rainbow>s6-rc-dryrun cmd</rainbow> instead. The way that works? You get to see what would have been done without actually running the command. Obsessed. ✨

<hotpink>s6-rc-dryrun</hotpink> prints its name, a colon, a space, and the space-separated list of its arguments to stdout.

It then waits for timeout milliseconds, then exits 0. Periodt. πŸ’…

πŸ’… OPTIONS πŸ’…

  • -v verbosity β€” If verbosity is 0, <lavender>s6-rc-dryrun</lavender> will not print anything to stdout. Default is 1. Slay.
  • -t timeout β€” Sleep for timeout milliseconds before exiting. Default is 1000, but when invoked by <cyan>s6-rc(8)</cyan>, it will be the value of the <peach>dryruntimeout</peach> argument to the -n option. This is used to simulate a start or stop script that does not complete immediately. iykyk. πŸ•°οΈ

🌈 SEE ALSO 🌈

Go read these next, bestie:

This man page is ported from the authoritative documentation at: <blue>https://skarnet.org/software/s6-rc/s6-rc-dryrun.html</blue>

πŸŽ€ AUTHORS πŸŽ€

  • <purple>Laurent Bercot</purple>
  • <purple>Alexis <flexibeast@gmail.com></purple> (man page port)

That's the whole vibe, bestie β€” this page comes from Debian, dated April 6, 2023, and it's the S6-RC-DRYRUN(8) manual page. Mwah. πŸ’‹βœ¨

πŸ“¦ where this page comes from