diff --git a/service/opendkim/run b/service/opendkim/run index 79eeca5..f3512de 100755 --- a/service/opendkim/run +++ b/service/opendkim/run @@ -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