0002-add-pidfile.patch 893 B

1234567891011121314151617181920212223242526
  1. From 124d479195ac8ec1747b5b89fe4860d0e92c2aae Mon Sep 17 00:00:00 2001
  2. From: Francois Perrad <francois.perrad@gadz.org>
  3. Date: Sun, 22 Oct 2017 08:58:11 +0200
  4. Subject: [PATCH] add pidfile
  5. see https://prosody.im/doc/configure#posix-only_options
  6. Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
  7. diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
  8. index af3cc0e4..675db12f 100644
  9. --- a/prosody.cfg.lua.dist
  10. +++ b/prosody.cfg.lua.dist
  11. @@ -187,6 +187,9 @@ log = {
  12. -- HTTPS currently only supports a single certificate, specify it here:
  13. --https_certificate = "certs/localhost.crt"
  14. +-- This must match the PIDFILE used in S50prosody
  15. +pidfile = "/var/run/prosody/prosody.pid"
  16. +
  17. ----------- Virtual hosts -----------
  18. -- You need to add a VirtualHost entry for each domain you wish Prosody to serve.
  19. -- Settings under each VirtualHost entry apply *only* to that host.
  20. --
  21. 2.11.0