-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cbaf815
commit f538fb7
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
order: 20 | ||
--- | ||
|
||
# TurboStack CLI | ||
The TurboStack Command Line Interface (later referred to as TSCLI) is available on all TurboStack nodes to provide you with an easy to use tool to manage the services on your environment, even ones you would normally need root access for. Below is a short description of the various features. | ||
|
||
## TSCLI Commands | ||
The TSCLI tool uses levels of arguments to categorize functions. Every command starts with **'tscli'** followed by the service you're managing, followed by the parameters for the function you're using as documented below. | ||
|
||
### NGINX Webserver | ||
[!badge icon="rocket" text="tscli nginx reload"] - Verifies the NGINX configuration and reloads it if it is valid. If it isn't valid you'll get an error with the issue reported. | ||
|
||
### BlackFire php Profiler | ||
[!badge icon="rocket" text="tscli blackfire enable"] - Installs the Blackfire Profiler and restarts the PHP-FPM service(s). | ||
|
||
[!badge icon="rocket" text="tscli blackfire enable"] - Uninstalls the Blackfire Profiler and restarts the PHP-FPM service(s). | ||
|
||
[!badge icon="rocket" text="tscli blackfire reload"] - Restarts the Blackfire Profiler service, to apply changes to the configuration. | ||
|
||
### Firewall | ||
[!badge icon="rocket" text="tscli firewall check"] - Returns info on wether the IP parameter is listed in the iptables. Please make sure to only use valid IP addresses. | ||
|
||
[!badge icon="rocket" text="tscli firewall block"] - Adds a firewall rule to block a specific IP address as specified in the IP parameter. | ||
|
||
[!badge icon="rocket" text="tscli firewall unblock"] - Removes an IP address from the firewall's deny list. | ||
|
||
### PHP OpCache | ||
[!badge icon="rocket" text="tscli opcache clear"] - Resets php's OpCache. | ||
|
||
### Varnish Cache | ||
[!badge icon="rocket" text="tscli varnish clear"] - Clears everything from Varnish Cache's memory. | ||
|
||
[!badge icon="rocket" text="tscli varnish reload"] - Reloads the Varnisch Cache configuration | ||
|
||
|
||
|