› VitalPBX Community Support › General Discussion › Start Stop Restart VitalPBX from CLI
Is there a way to stop/start/restart all VitalPBX services with a single command or script from the CLI?
No, there’s no such command
Anyone out there that has already made a stop/start/restart script, before I attempt to maybe recreate a wheel?
bash, py, php, whatever.
VitalPBX comes with command-line utility.
Use the following command to list, the available commands:
Feel free to add vitalpbx stop, vitalpbx start, vitalpbx restart to that script in a future update! ?
I don’t see why we need to add such commands to VitalPBX.
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.
Tagged: cli, restart, start, stop