Start Stop Restart VitalPBX from CLI

VitalPBX Community Support General Discussion Start Stop Restart VitalPBX from CLI

Up
0
Down
  • Post
    InTeleSync
    Participant

    Is there a way to stop/start/restart all VitalPBX services with a single command or script from the CLI?

     

    0
Viewing 6 replies - 1 through 6 (of 6 total)
  • Replies

    No, there’s no such command

    0
    InTeleSync
    Participant

    Anyone out there that has already made a stop/start/restart script, before I attempt to maybe recreate a wheel?

    bash, py, php, whatever.

    0

    VitalPBX comes with command-line utility.

    Use the following command to list, the available commands:

    vitalpbx --help
    0
    InTeleSync
    Participant

    Feel free to add vitalpbx stop, vitalpbx start, vitalpbx restart to that script in a future update! ? 

    0

    I don’t see why we need to add such commands to VitalPBX.

    0
    InTeleSync
    Participant

    The script(s) would be referenced in various cloud maintenance tasks, particularly for generating clean backups and snapshots, expedient troubleshooting, etc. Pretty standard stuff. 

    If you don’t want to do it, don’t do it. We’ll do it ourselves. But I’ve got to imagine I’m not the first and won’t be the last to want this.

     

    0
Viewing 6 replies - 1 through 6 (of 6 total)

Tagged: , , ,

  • You must be logged in to reply to this topic.