summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klausmann <klausman@gentoo.org>2019-03-19 15:23:14 +0100
committerTobias Klausmann <klausman@gentoo.org>2019-03-19 15:23:34 +0100
commitddcbbd13eb5e2ef77e733a67a05cedd03ab313cf (patch)
tree089d63add33bb01166eb7a9232a49958310be085 /net-im/prosody/files
parentwww-client/vivaldi-snapshot: Old (diff)
downloadgentoo-ddcbbd13eb5e2ef77e733a67a05cedd03ab313cf.tar.gz
gentoo-ddcbbd13eb5e2ef77e733a67a05cedd03ab313cf.tar.bz2
gentoo-ddcbbd13eb5e2ef77e733a67a05cedd03ab313cf.zip
net-im/prosody: Patch default config
This makes sure the default config uses the right user/group (jabber:jabber) and PID file. Fixes: https://bugs.gentoo.org/497104 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Tobias Klausmann <klausman@gentoo.org>
Diffstat (limited to 'net-im/prosody/files')
-rw-r--r--net-im/prosody/files/prosody_cfg-0.11.2-r1.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-im/prosody/files/prosody_cfg-0.11.2-r1.patch b/net-im/prosody/files/prosody_cfg-0.11.2-r1.patch
new file mode 100644
index 000000000000..94423a834ae1
--- /dev/null
+++ b/net-im/prosody/files/prosody_cfg-0.11.2-r1.patch
@@ -0,0 +1,16 @@
+--- a/prosody.cfg.lua.dist 2019-03-19 15:11:16.355743969 +0100
++++ b/prosody.cfg.lua.dist 2019-03-19 15:14:42.810995725 +0100
+@@ -32,6 +32,13 @@
+ -- will look for modules first. For community modules, see https://modules.prosody.im/
+ --plugin_paths = {}
+
++-- Gentoo uses the jabber:jabber uid/gid for all Jabber-related services
++prosody_user = "jabber"
++prosody_group = "jabber"
++
++-- Make sure prosodyctl checks in the right spot for the PID file
++pidfile = "/run/jabber/prosody.pid"
++
+ -- This is the list of modules Prosody will load on startup.
+ -- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too.
+ -- Documentation for bundled modules can be found at: https://prosody.im/doc/modules