HERD(1)

πŸ“¦
version 1.0.9 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– HERD β€” like, the manual page, bestie πŸ’–

okay so real talk: this is herd, a User Commands page, and it's the little command-line bestie you use to boss around the shepherd(1) service manager. yes THAT shepherd. the init system one. iconic behaviour honestly.


✨ NAME ✨

herd β€” control the shepherd(1) service manager πŸ‘πŸ’…


🌸 DESCRIPTION 🌸

the whole vibe is:

herd [OPTIONS...] ACTION SERVICE [ARG...]

so you take an ACTION β€” like start, stop, status, whatever β€” and you apply it to a SERVICE, with any ARGs you wanna pass along. that's the whole thing. chef's kiss. 🫢

πŸŽ€ OPTIONS πŸŽ€

one bullet per flag, no skips, we do not gatekeep here:

  • --group=GROUP β€” run the given program as GROUP πŸ’œ
  • --user=USER β€” run the given program as USER πŸ’œ
  • -E, --environment-variable=ENVIRONMENT β€” pass along the environment variable that ENVIRONMENT names ✨
  • -d, --working-directory=DIRECTORY β€” run the service from DIRECTORY (this one's for the transient services, iykyk) πŸ¦‹
  • --log-file=FILE β€” dump the service output into FILE πŸ“
  • -N, --service-name=NAME β€” register a brand new service under NAME πŸ‘‘
  • -n, --log-history=NUMBER β€” show up to NUMBER lines of service log, that's the limit, periodt πŸ”₯
  • -s, --socket=FILE β€” send your commands over to FILE 🧚
  • --help β€” display this help and exit πŸ₯°
  • --usage β€” display the short usage message and exit ⭐
  • --version β€” display version information and exit 🌈
lowkey important: mandatory or optional arguments to long options are also mandatory or optional to the corresponding short options. same energy, both directions. no cap. πŸ’€

😭 REPORTING BUGS 😭

found a bug? do NOT suffer in silence, bestie. tell the devs:


Copyright Β© 2025 the Shepherd authors License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. like, none. zero. don't come for them. πŸ™ˆ


πŸ¦‹ SEE ALSO πŸ¦‹

the full documentation for herd is maintained as a Texinfo manual β€” the whole deep lore, not just the highlights reel. if the info and herd programs are properly installed at your site, this command

info shepherd

should give you access to the complete manual. go read it, it's giving encyclopedia but make it slay. πŸ“šβœ¨


and that's the whole page, babe β€” brought to you by GNU, dated February 2026, which is genuinely so soon it's basically tomorrow. bye bestie, go manage some services πŸ’œπŸ‘

πŸ“¦ where this page comes from