mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
75765576dc
The fixes here include typos, removals of deprecated paths, fixes for first-boot-only systemd targets and related MariaDB migrate machinery, better logging for Postfix, and an increase in the default request body size for the default NGINX ingress.
15 lines
555 B
Desktop File
15 lines
555 B
Desktop File
[Unit]
|
|
Description=DKIM key for %I
|
|
Wants=rspamd.service
|
|
After=rspamd.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStartPre=/bin/podman exec rspamd install -d /var/lib/rspamd/dkim
|
|
ExecStart=/bin/podman exec rspamd openssl genrsa -out /var/lib/rspamd/dkim/%i.dkim.key 1024
|
|
ExecStartPost=/bin/podman exec rspamd chmod 644 /var/lib/rspamd/dkim/%i.dkim.key
|
|
ExecStartPost=/bin/podman exec rspamd sh -c 'echo "Public DKIM key:"; openssl rsa -in /var/lib/rspamd/dkim/%i.dkim.key -pubout -outform der 2> /dev/null | openssl base64 -A'
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|