Based on https://wiki.archlinux.org/index.php/Systemd/Timers#MAILTO This can easily be used by other services, with one line added to the [Unit] section of a service: OnFailure=status-email-ops@%n.service Refs #3
10 lines
271 B
Desktop File
10 lines
271 B
Desktop File
[Unit]
|
|
Description=Certbot
|
|
Documentation=file:///usr/share/doc/python-certbot-doc/html/index.html
|
|
Documentation=https://letsencrypt.readthedocs.io/en/latest/
|
|
OnFailure=status-email-ops@%n.service
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/certbot -q renew
|
|
PrivateTmp=true
|