mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-26 07:05:19 +02:00
24 lines
623 B
Plaintext
24 lines
623 B
Plaintext
![]() |
[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
|
||
|
|