Skip to content

Commit f538fb7

Browse files
authored
Create TurboStackCLI.md
1 parent cbaf815 commit f538fb7

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

TurboStack App/TurboStackCLI.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
order: 20
3+
---
4+
5+
# TurboStack CLI
6+
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.
7+
8+
## TSCLI Commands
9+
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.
10+
11+
### NGINX Webserver
12+
[!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.
13+
14+
### BlackFire php Profiler
15+
[!badge icon="rocket" text="tscli blackfire enable"] - Installs the Blackfire Profiler and restarts the PHP-FPM service(s).
16+
17+
[!badge icon="rocket" text="tscli blackfire enable"] - Uninstalls the Blackfire Profiler and restarts the PHP-FPM service(s).
18+
19+
[!badge icon="rocket" text="tscli blackfire reload"] - Restarts the Blackfire Profiler service, to apply changes to the configuration.
20+
21+
### Firewall
22+
[!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.
23+
24+
[!badge icon="rocket" text="tscli firewall block"] - Adds a firewall rule to block a specific IP address as specified in the IP parameter.
25+
26+
[!badge icon="rocket" text="tscli firewall unblock"] - Removes an IP address from the firewall's deny list.
27+
28+
### PHP OpCache
29+
[!badge icon="rocket" text="tscli opcache clear"] - Resets php's OpCache.
30+
31+
### Varnish Cache
32+
[!badge icon="rocket" text="tscli varnish clear"] - Clears everything from Varnish Cache's memory.
33+
34+
[!badge icon="rocket" text="tscli varnish reload"] - Reloads the Varnisch Cache configuration
35+
36+
37+

0 commit comments

Comments
 (0)