ansible-role-ssh-cert/files/ssh-cert-renew@.service
Denis Knauf 56b505cf94 init
2020-09-16 14:19:19 +02:00

9 lines
302 B
Desktop File

[Unit]
Description=Renewal ssh host certificate %i
[Service]
EnvironmentFile=/etc/default/ssh-cert-renew
Type=oneshot
ExecStart=/usr/local/bin/timer-mail -t ${ssh_ca_mail_to} -f ${ssh_ca_mail_from} -s "ssh certificate renewal %i" -ve \
/etc/systemd/ssh-cert-renew ${ssh_ca_sign_host} /etc/ssh/%i