fix: recover ownership
This commit is contained in:
parent
ac68f90e25
commit
793c9f7644
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ case $1 in
|
|||
|
||||
ok "Generating new keys for selector ${selc}"
|
||||
opendkim-genkey --directory=$dir --selector=$selc --subdomains --domain=$SUTTY
|
||||
chown -R opendkim:opendkim /etc/opendkim
|
||||
|
||||
# Discard previous keys
|
||||
echo "$dkey $SUTTY:$selc:$pkey" > $key
|
||||
|
|
Loading…
Reference in a new issue