xref: /OK3568_Linux_fs/buildroot/package/prosody/0002-add-pidfile.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFrom 124d479195ac8ec1747b5b89fe4860d0e92c2aae Mon Sep 17 00:00:00 2001
2*4882a593SmuzhiyunFrom: Francois Perrad <francois.perrad@gadz.org>
3*4882a593SmuzhiyunDate: Sun, 22 Oct 2017 08:58:11 +0200
4*4882a593SmuzhiyunSubject: [PATCH] add pidfile
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunsee https://prosody.im/doc/configure#posix-only_options
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunSigned-off-by: Francois Perrad <francois.perrad@gadz.org>
9*4882a593Smuzhiyun
10*4882a593Smuzhiyundiff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
11*4882a593Smuzhiyunindex af3cc0e4..675db12f 100644
12*4882a593Smuzhiyun--- a/prosody.cfg.lua.dist
13*4882a593Smuzhiyun+++ b/prosody.cfg.lua.dist
14*4882a593Smuzhiyun@@ -187,6 +187,9 @@ log = {
15*4882a593Smuzhiyun -- HTTPS currently only supports a single certificate, specify it here:
16*4882a593Smuzhiyun --https_certificate = "certs/localhost.crt"
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun+-- This must match the PIDFILE used in S50prosody
19*4882a593Smuzhiyun+pidfile = "/var/run/prosody/prosody.pid"
20*4882a593Smuzhiyun+
21*4882a593Smuzhiyun ----------- Virtual hosts -----------
22*4882a593Smuzhiyun -- You need to add a VirtualHost entry for each domain you wish Prosody to serve.
23*4882a593Smuzhiyun -- Settings under each VirtualHost entry apply *only* to that host.
24*4882a593Smuzhiyun--
25*4882a593Smuzhiyun2.11.0
26*4882a593Smuzhiyun
27