fix perms

This commit is contained in:
Andy 2018-12-17 14:14:42 +01:00
parent 8e920fa2b3
commit f59f6c9809
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C

View File

@ -1,6 +1,7 @@
#!/bin/sh
echo "${PWD##*/}: started."
#chown -Rh opendkim:opendkim -- /etc/opendkim
mkdir /var/run/opendkim
chown -Rh opendkim:opendkim -- /etc/opendkim /var/run/opendkim
#exec su -s /bin/sh opendkim -c "/usr/sbin/opendkim -f -x /etc/opendkim/opendkim.conf -u opendkim -P /var/run/opendkim/opendkim.pid" 2>&1
exec /usr/sbin/opendkim -f -x /etc/opendkim/opendkim.conf -u opendkim -P /var/run/opendkim/opendkim.pid 2>&1