mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
The cert monitoring was an orphaned background process (`monitor_certificates &`) Replace with a proper systemd timer/service (every 60s). Also made journald ForwardToConsole=yes idempotent.
9 lines
203 B
Desktop File
9 lines
203 B
Desktop File
[Unit]
|
|
Description=Check TLS certificate changes and reload services
|
|
After=setup_chatmail.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/bash /chatmail-certmon.sh
|
|
PassEnvironment=MAIL_DOMAIN PATH_TO_SSL
|