summaryrefslogtreecommitdiff
path: root/net-im/prosody/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/prosody/files')
-rw-r--r--net-im/prosody/files/prosody-0.8.0-cfg.lua.patch36
-rw-r--r--net-im/prosody/files/prosody.initd46
2 files changed, 0 insertions, 82 deletions
diff --git a/net-im/prosody/files/prosody-0.8.0-cfg.lua.patch b/net-im/prosody/files/prosody-0.8.0-cfg.lua.patch
deleted file mode 100644
index 6444a6b..0000000
--- a/net-im/prosody/files/prosody-0.8.0-cfg.lua.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
-index e513b11..08ebca6 100644
---- a/prosody.cfg.lua.dist
-+++ b/prosody.cfg.lua.dist
-@@ -105,6 +105,8 @@ ssl = {
- -- default provider stores passwords in plaintext. If you do not trust your
- -- server please see http://prosody.im/doc/modules/mod_auth_internal_hashed
- -- for information about using the hashed backend.
-+-- See http://prosody.im/doc/authentication for other possibilities including
-+-- Cyrus SASL.
-
- authentication = "internal_plain"
-
-@@ -123,12 +125,19 @@ authentication = "internal_plain"
- -- Logging configuration
- -- For advanced logging see http://prosody.im/doc/logging
- log = {
-- info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging
-- error = "prosody.err";
-- -- "*syslog"; -- Uncomment this for logging to syslog
-+ info = "/var/log/jabber/prosody.log"; -- Change 'info' to 'debug' for verbose logging
-+ error = "/var/log/jabber/prosody.err";
-+ -- "*syslog"; -- Uncomment this for logging to syslog; needs mod_posix
- -- "*console"; -- Log to the console, useful for debugging with daemonize=false
- }
-
-+-- Pidfile, used by prosodyctl and the init.d script
-+pidfile = "/var/run/jabber/prosody.pid"
-+
-+-- User and group, used for daemon
-+prosody_user = "jabber"
-+prosody_group = "jabber"
-+
- ----------- 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.
diff --git a/net-im/prosody/files/prosody.initd b/net-im/prosody/files/prosody.initd
deleted file mode 100644
index 9cb1340..0000000
--- a/net-im/prosody/files/prosody.initd
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-description="Prosody is a server for Jabber/XMPP written in Lua."
-description_reload="Reload configuration and reopen log files."
-extra_started_commands="reload"
-
-PIDFILE="/var/run/jabber/prosody.pid"
-USER="jabber:jabber"
-COMMAND="/usr/bin/prosody"
-
-depend() {
- use dns
- need net
- provide jabber-server
-}
-
-checkconfig() {
- if [ ! -e /etc/jabber/prosody.cfg.lua ] ; then
- eerror "You need a /etc/jabber/prosody.cfg.lua file to run prosody"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting Prosody XMPP Server"
- start-stop-daemon --start -b --pidfile ${PIDFILE} \
- --make-pidfile --user ${USER} --exec ${COMMAND}
- eend $?
-}
-
-stop() {
- ebegin "Stopping Prosody XMPP Server"
- start-stop-daemon --stop --pidfile ${PIDFILE} \
- --user ${USER} --exec ${COMMAND}
- eend $?
-}
-
-reload() {
- ebegin "Reloading configuration of Prosody XMPP Server"
- start-stop-daemon --pidfile ${PIDFILE} --signal HUP
- eend $?
-}