i neglect to provide accommodations for creation of /run/opendkim - here
is an amended systemd unit file:

[Unit]
Description=DomainKeys Identified Mail (DKIM) Milter
Documentation=man:opendkim(8) man:opendkim.conf(5) man:opendkim-genkey(8) 
man:opendkim-genzone(8) man:opendkim-testadsp(8) man:opendkim-testkey 
http://www.opendkim.org/docs.html
After=network.target nss-lookup.target syslog.target

[Service]
Type=forking
User=opendkim
Group=opendkim
PermissionsStartOnly=true
EnvironmentFile=-/etc/default/opendkim
PIDFile=/run/opendkim/opendkim.pid
ExecStartPre=-/bin/mkdir /run/opendkim
ExecStartPre=-/bin/chown opendkim.opendkim /run/opendkim
ExecStart=/usr/sbin/opendkim -x /etc/opendkim/opendkim.conf
TimeoutStartSec=10
ExecReload=/bin/kill -USR1 $MAINPID

[Install]
WantedBy=multi-user.target

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1452538

Title:
  opendkim does not start properly when ldap server can't be contacted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opendkim/+bug/1452538/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to