blob: dc72c8f1cb5b39ef192256e1d3a283556052d286 (
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
|
$NetBSD: patch-ab,v 1.1.1.1 2010/09/21 11:01:22 fhajny Exp $
Enable POSIX functionality by default
--- prosody.cfg.lua.dist.orig 2010-06-13 00:23:02.000000000 +0000
+++ prosody.cfg.lua.dist
@@ -54,7 +54,7 @@ modules_enabled = {
"register"; -- Allow users to register on this server using a client and change passwords
-- Other specific functionality
- --"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
+ "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
--"console"; -- Opens admin telnet interface on localhost port 5582
--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
--"httpserver"; -- Serve static files from a directory over HTTP
@@ -90,9 +90,12 @@ ssl = {
-- Logging configuration
-- For advanced logging see http://prosody.im/doc/logging
-log = "prosody.log";
+log = "@PROSODY_LOG@/prosody.log";
debug = false; -- Log debug messages?
+-- Enable PID file by default
+pidfile = "@PROSODY_RUN@/prosody.pid";
+
----------- Virtual hosts -----------
-- You need to add a VirtualHost entry for each domain you wish Prosody to serve.
-- Settings under each VirtualHost entry apply *only* to that host.
|