Skip to content

Commit 227d944

Browse files
author
olevole
committed
link to article
1 parent 4164718 commit 227d944

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@ however you can use any number of physical nodes for single API.
2828
pkg install -y cbsd cbsd-mq-router cbsd-mq-api beanstalkd git
2929
```
3030

31-
2) Configure beanstalkd service:
31+
2) Configure beanstalkd, the broker service.
32+
33+
Since all services are on the same server, we will specify the address 127.0.0.1
34+
for incoming connections and start the service:
3235
```
3336
sysrc beanstalkd_flags="-l 127.0.0.1 -p 11300"
3437
service beanstalkd enable
3538
service beanstalkd restart
3639
```
3740

38-
3) Configure CBSD as usual
41+
3) Configure CBSD as usual:
3942
```
4043
env workdir=/usr/jails /usr/local/cbsd/sudoexec/initenv
4144
```
@@ -45,9 +48,8 @@ env workdir=/usr/jails /usr/local/cbsd/sudoexec/initenv
4548
First, get hoster FQDN via `hostname` command.
4649
Let's say your host has a name: apitest.my.domain
4750

48-
Open /usr/local/etc/cbsd-mq-router.json in any favorite editor and change
49-
"tube" and "reply_tube_prefix" ( cbsd_<hostname_without_dot> and cbsd_<hostname_without_dot>_result_id ), e.g:
50-
51+
Open /usr/local/etc/cbsd-mq-router.json in any favorite editor and set
52+
"tube" and "reply_tube_prefix" params ( cbsd_<hostname_without_dot> and cbsd_<hostname_without_dot>_result_id ), e.g:
5153

5254
```
5355
{
@@ -153,7 +155,7 @@ cbsd jlogin
153155
cbsd destroy
154156
```
155157

156-
See documentation for detailed information.
158+
See documentation for detailed information and additional examples: [https://www.bsdstore.ru/en/cbsd_api_ssi.html](https://www.bsdstore.ru/en/cbsd_api_ssi.html)
157159

158160
## Contributing
159161

0 commit comments

Comments
 (0)