Solved a problem with doas -u

This commit is contained in:
Eduardo Cueto-Mendoza 2024-04-09 15:20:50 +00:00
parent 7181224de4
commit 3006b5422c
1 changed files with 3 additions and 1 deletions

View File

@ -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