ChatLuckのリアルタイムサーバーの再起動手順

ChatLuck (Linux+PostgreSQL) のリアルタイムサーバーの再起動手順についての説明です。

1.リアルタイムサーバーの停止

1-1. suコマンドにて、rootユーザーにスイッチしてください。

[guest@xxxxxx ~]$ su -

Password:

1-2. 以下のコマンドを実行し、リアルタイムサーバーを停止します。

[root@xxxxxx ~]# systemctl stop chatluckws

 

1-3. 以下のコマンドを実行し、"Active: inactive (dead)"のように表示されれば停止されています。

[root@xxxxxx ~]# systemctl status chatluckws

● chatluckws.service - Real-time server used in some functions of ChatLuck

  Loaded: loaded (/etc/systemd/system/chatluckws.service; enabled; vendor preset: disabled)

  Active: inactive (dead) since 月 2021-12-13 15:12:15 JST; 2s ago

・(中略)

[root@xxxxxx ~]#

 

2.リアルタイムサーバーの起動

2-1. 以下のコマンドを実行し、リアルタイムサーバーを起動します。

[root@xxxxxx tmp]# systemctl start chatluckws
[root@xxxxxx tmp]# cat /var/www/cgi-bin/chatlk/rserver/log/rserver.log
[2021-12-01T09:00:00.000+09:00] Start the server with the address "[::]:3000"

"rserver.log"に"Start the server with the address "[::]:3000""のように表示されていれば、リアルタイムサーバーの起動は完了です。

 

以上でChatLuck (Linux+PostgreSQL)リアルタイムサーバーの再起動は完了です。

 

記載の製品名および商品名は、各社の商標、または登録商標です。