mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Enforce permissions on rspamd log directory
This commit is contained in:
parent
c473902776
commit
8f8be838b6
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,8 @@ 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
|
||||||
|
|
||||||
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