Solved a problem with doas -u
This commit is contained in:
parent
7181224de4
commit
3006b5422c
4
emailwiz
4
emailwiz
|
@ -364,7 +364,9 @@ EOF
|
||||||
|
|
||||||
printf '%s: Generating dkim keys...\n' "${progname}"
|
printf '%s: Generating dkim keys...\n' "${progname}"
|
||||||
mkdir -p /etc/mail/dkim
|
mkdir -p /etc/mail/dkim
|
||||||
doas -u _dkimsign openssl genrsa -out "${dkimkey}" 2048
|
openssl genrsa -out "${dkimkey}" 2048
|
||||||
|
chown _dkimsign:_dkimsign "${dkimkey}"
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Restart daemons
|
# Restart daemons
|
||||||
|
|
Loading…
Reference in New Issue