Setting prosody group
This commit is contained in:
parent
5096ba9cc1
commit
70813b5a65
|
@ -375,8 +375,11 @@ function update_prosody_modules {
|
|||
|
||||
function upgrade_xmpp {
|
||||
if [ -d /etc/letsencrypt ]; then
|
||||
prosody_groups=$(groups prosody)
|
||||
if [[ "$prosody_groups" != *'ssl-cert'* ]]; then
|
||||
usermod -a -G ssl-cert prosody
|
||||
fi
|
||||
fi
|
||||
function_check update_prosody_modules
|
||||
update_prosody_modules
|
||||
|
||||
|
|
Loading…
Reference in New Issue