You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: turbostack_configuration/ts_cli.md
+46Lines changed: 46 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,3 +3,49 @@ order: 20
3
3
---
4
4
5
5
# TS CLI
6
+
7
+
The TurboStack Command Line Interface (later referred to as TSCLI) is available on all TurboStack servers to provide you with an easy to use tool to manage the services on your server, even ones you would normally need root access for. Below is a short description of the various features.
8
+
9
+
10
+
## TSCLI Commands
11
+
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.
12
+
13
+
Example:
14
+
15
+
tscli nginx reload
16
+
This command will reload the NGINX service configuration
17
+
18
+
19
+
20
+
### NGINX Webserver
21
+
[!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.
22
+
23
+
### BlackFire php Profiler
24
+
[!badge icon="rocket" text="tscli blackfire enable"] - Installs the Blackfire Profiler and restarts the PHP-FPM service(s).
25
+
[!badge icon="rocket" text="tscli blackfire enable"] - Uninstalls the Blackfire Profiler and restarts the PHP-FPM service(s).
26
+
[!badge icon="rocket" text="tscli blackfire reload"] - Restarts the Blackfire Profiler service, to apply changes to the configuration.
27
+
28
+
### Firewall
29
+
30
+
tscli firewall check
31
+
32
+
Returns info on wether the IP parameter is listed in the iptables. Please make sure to only use valid IP addresses.
33
+
tscli firewall block
34
+
35
+
Adds a firewall rule to block a specific IP address as specified in the IP parameter.
36
+
tscli firewall unblock
37
+
38
+
Removes an IP address from the firewall's deny list.
0 commit comments