You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
623 B
24 lines
623 B
5 years ago
|
[Unit]
|
||
|
Description=OpenDKIM DomainKeys Identified Mail (DKIM) Milter - {{ item }}
|
||
|
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
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
UMask=0007
|
||
|
ExecStart=/usr/sbin/opendkim -x /etc/opendkim/{{ item }}.conf
|
||
|
User=opendkim
|
||
|
Group=opendkim
|
||
|
MemoryLimit=50M
|
||
|
PrivateTmp=yes
|
||
|
PrivateDevices=yes
|
||
|
ProtectSystem=full
|
||
|
ProtectHome=yes
|
||
|
NoNewPrivileges=yes
|
||
|
Restart=on-failure
|
||
|
ExecReload=/bin/kill -USR1 $MAINPID
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|