summaryrefslogtreecommitdiffhomepage
path: root/debian/README.Debian
blob: e683b0c66ae6c3373397db2e28883140fdb5de25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
webchat for Debian
==================

This package is the Debian version of webchat.

It is a websocket application communicating to a webserver, e.g. Reichwein.IT webserver.

Via cron or systemd, webchat data in /var/lib/webchat is cleaned up once a day.
Data location and maximum data age can be configured via /etc/webchat.conf.

Configuration
-------------

* You can add this to /etc/webchat.conf

   <path requested="/webchat">
    <plugin>static-files</plugin>
    <target>/usr/lib/webchat/html</target>
   </path>
   <path requested="/webchat/websocket">
    <plugin>websocket</plugin>
    <target>127.0.0.1:9015</target>
   </path>

* Edit /etc/webchat.conf to adjust the webchat data path if different
  from /var/lib/webchat

* Enable:

  # systemctl enable webchat.service

* Start:

  # systemctl start webchat

* Stop:

  # systemctl stop webchat

* Query Status:

  # systemctl status webchat

  and observe /var/log/syslog


Contact
-------

Reichwein IT <mail@reichwein.it>