Skip to content

Commit 199c146

Browse files
author
xboard
committed
refactor: rename ws-server command and update configuration
1 parent 98a4964 commit 199c146

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

.docker/supervisor/supervisord.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ priority=300
6565

6666
[program:ws-server]
6767
process_name=%(program_name)s_%(process_num)02d
68-
command=php /www/artisan xboard:ws-server start
68+
command=php /www/artisan ws-server start
6969
autostart=%(ENV_ENABLE_WS_SERVER)s
7070
autorestart=true
7171
user=www

app/Console/Commands/NodeWebSocketServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
class NodeWebSocketServer extends Command
1818
{
19-
protected $signature = 'xboard:ws-server
19+
protected $signature = 'ws-server
2020
{action=start : start | stop | restart | reload | status}
2121
{--d : Start in daemon mode}
2222
{--host=0.0.0.0 : Listen address}

compose.sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828
- ./:/www/
2929
restart: always
3030
network_mode: host
31-
command: php artisan xboard:ws-server start
31+
command: php artisan ws-server start
3232
depends_on:
3333
- redis
3434
redis:

docs/en/installation/1panel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ location ^~ / {
5959
proxy_cache off;
6060
}
6161
```
62-
> The `/ws/` location enables WebSocket real-time node synchronization via `xboard:ws-server`. This service is enabled by default and can be toggled in Admin Panel > System Settings > Server.
62+
> The `/ws/` location enables WebSocket real-time node synchronization via `ws-server`. This service is enabled by default and can be toggled in Admin Panel > System Settings > Server.
6363
6464
3. Install Xboard:
6565
```bash

docs/en/installation/aapanel-docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ location ^~ / {
110110
proxy_cache off;
111111
}
112112
```
113-
> The `/ws/` location enables real-time node synchronization via `xboard:ws-server`. This service is enabled by default and can be toggled in Admin Panel > System Settings > Server.
113+
> The `/ws/` location enables real-time node synchronization via `ws-server`. This service is enabled by default and can be toggled in Admin Panel > System Settings > Server.
114114
115115
## Maintenance Guide
116116

docs/en/installation/aapanel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Add a WebSocket daemon process in aaPanel Supervisor:
184184
- Name: `Xboard-WS`
185185
- Run User: `www`
186186
- Running Directory: Site directory
187-
- Start Command: `php artisan xboard:ws-server start`
187+
- Start Command: `php artisan ws-server start`
188188
- Process Count: 1
189189

190190
### 2. Configure Nginx

0 commit comments

Comments
 (0)