summaryrefslogtreecommitdiff
path: root/net-im/prosody/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
commitd7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch)
tree1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /net-im/prosody/files
parentabaa75b10f899ada8dd05b23cc03205064394bc6 (diff)
gentoo resync : 29.01.2021
Diffstat (limited to 'net-im/prosody/files')
-rw-r--r--net-im/prosody/files/prosody.initd-r5 (renamed from net-im/prosody/files/prosody.initd-r4)5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-im/prosody/files/prosody.initd-r4 b/net-im/prosody/files/prosody.initd-r5
index 1282e9dc4561..54e37be5bd8c 100644
--- a/net-im/prosody/files/prosody.initd-r4
+++ b/net-im/prosody/files/prosody.initd-r5
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="Prosody XMPP server"
@@ -10,6 +10,7 @@ pidfile="${jabber_pid}/prosody.pid"
prosody_config="/etc/jabber/prosody.cfg.lua"
command="/usr/bin/prosody"
+commandctl="/usr/bin/prosodyctl"
command_group="jabber"
command_user="jabber"
@@ -19,7 +20,7 @@ checkconfig() {
return 1
fi
- luac -p "${prosody_config}"
+ ${commandctl} check config
return $?
}