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: grout-container-app/cnfapp/README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,23 +37,25 @@ add ip address 172.16.16.60/24 iface p0
37
37
add ip address 172.16.21.60/24 iface p1
38
38
```
39
39
40
-
The file created by the automation to launch the Grout configuration is saved under `/usr/local/bin/example-cnf/run/config-grout`, and it has the following content:
40
+
The file created by the automation to launch the Grout configuration is saved under `/usr/local/bin/example-cnf/run/grout.sock`, and it has the following content:
41
41
42
42
```
43
43
sh-4.4$ cat config-grout
44
-
grcli -f /usr/local/bin/example-cnf/run/grout.init 2>&1 | tee /var/log/grout/app.log
44
+
grcli -f /usr/local/bin/example-cnf/run/grout.init -s /usr/local/bin/example-cnf/run/grout.sock 2>&1 | tee /var/log/grout/app.log
45
45
```
46
46
47
47
To deploy that config, we use the `grcli` command. If using `-f` argument, we will run all the commands that are defined in the file. If just using `grcli`, we'll open a CLI session with Grout and we can start interacting with the service. And also, we can use `grcli` followed by a Grout command to perform a particular action.
48
48
49
+
We use `-s` argument to refer to a specific location of the Grout socket API file.
50
+
49
51
For example, we can print statistics in the following way:
0 commit comments