mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Recursively enforce ownership for rspamd
This commit is contained in:
parent
a891d20a17
commit
8454f2ec12
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ do_post_regen() {
|
||||||
chown _rspamd /etc/dkim/*.mail.key
|
chown _rspamd /etc/dkim/*.mail.key
|
||||||
chmod 400 /etc/dkim/*.mail.key
|
chmod 400 /etc/dkim/*.mail.key
|
||||||
|
|
||||||
[ ! -e /var/log/rspamd ] || chown _rspamd:_rspamd /var/log/rspamd
|
[ ! -e /var/log/rspamd ] || chown -R _rspamd:_rspamd /var/log/rspamd
|
||||||
|
|
||||||
regen_conf_files=$1
|
regen_conf_files=$1
|
||||||
[ -z "$regen_conf_files" ] && exit 0
|
[ -z "$regen_conf_files" ] && exit 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue