mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
11 lines
230 B
Bash
11 lines
230 B
Bash
#!/bin/bash
|
|
|
|
backup_dir="$1/etc/dkim"
|
|
|
|
cp -a $backup_dir/. /etc/dkim
|
|
|
|
chown -R root:root /etc/dkim
|
|
chown _rspamd:root /etc/dkim
|
|
chown _rspamd:root /etc/dkim/*.mail.key
|
|
chmod 600 /etc/dkim/*.mail.txt
|
|
chmod 400 /etc/dkim/*.mail.key
|