prosody: /etc/prosody permissions fix

Signed-off-by: Sergio E. Nemirowski <sergio@outerface.net>
(cherry picked from commit 838306cb37)
This commit is contained in:
Sergio E. Nemirowski 2020-03-30 15:20:21 +03:00 committed by Josef Schlehofer
parent 498bcd4e25
commit 199860fa3a
No known key found for this signature in database
GPG key ID: B950216FE4329F4C
2 changed files with 3 additions and 2 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=prosody
PKG_VERSION:=0.11.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://prosody.im/downloads/source

View file

@ -23,7 +23,8 @@ start_service() {
}
[ -d /var/log/prosody ] && {
chown -R prosody:prosody /etc/prosody
chown -R root:prosody /etc/prosody
chown -R prosody:prosody /etc/prosody/data
}
[ -f /sbin/paxctl ] && {