pbx-runstate(1)

πŸ“¦ version 0.9.3, in alpine 3.24

πŸŽ€ pbx-runstate(1) πŸŽ€

okay so welcome to the General Commands Manual page for pbx-runstate(1), bestie πŸ’– β€” this is the one that sets or views the coventry running state, and it's lowkey iconic.


πŸ’… NAME πŸ’…

pbx-runstate β€” set or view coventry running state


✨ SYNOPSIS ✨

pbx-runstate [options] [

yes, the synopsis literally ends with a lone [ β€” we are copying it exactly, no editing, no cap. πŸ’€


πŸŽ€ DESCRIPTION πŸŽ€

pbx-runstate sets the running state of the coventry server. It activates a .state file which has overrides to the current config. For example, it could be used to set different ringing patterns at night. πŸŒ™

pbx-runstate can be used to set states even if coventry is not running. This makes it possible to call it from cronjobs. If coventry is actively running it issues a server reload request to apply the newly set state. πŸ”₯


πŸ¦‹ OPTIONS πŸ¦‹

  • --quiet β€” Only return exit code, produce no output. literally silent mode 🀫
  • --help β€” Outputs help screen for the user. the classic helper 🫢

πŸ”₯ EXIT STATUS πŸ”₯

Exit status can be used to determine command results in shell scripts. bestie, this is your script's vibe check πŸ’…

  • 0 β€” State successfully changed.. (yes, two dots β€” copied exactly, periodt)
  • 1 β€” Change resulted in an error or is invalid.
  • 2 β€” Change reload timed out without any response signaled.
  • 3 β€” Error sending reload to message queue.

Copyright Β© 2022 Tycho Softworks.
This is free software; see the source for copying conditions.  There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

no warranty bestie, read the source for copying conditions πŸ’œ

byeee 🫢 β€” source/version: Tycho Softworks, Coventry, pbx-runstate(1); date: not listed on this page, so no invented date. πŸ’–

πŸ“¦ where this page comes from