prosody: /etc/prosody permissions fix

Signed-off-by: Sergio E. Nemirowski <sergio@outerface.net>
This commit is contained in:
Sergio E. Nemirowski 2020-03-30 15:20:21 +03:00
parent d67a342150
commit 838306cb37
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -23,7 +23,8 @@ start_service() {
} }
[ -d /var/log/prosody ] && { [ -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 ] && { [ -f /sbin/paxctl ] && {