Add email reporting for autobackups (0.9.90)

This commit is contained in:
2024-01-11 00:32:38 -05:00
parent 65dce44f72
commit db8c437a31
4 changed files with 24 additions and 2 deletions

View File

@ -5,4 +5,4 @@ Description=[Cron] PVC VM autobackup (forced-full)
Type=oneshot
IgnoreSIGPIPE=false
KillMode=process
ExecStart=/usr/bin/pvc --quiet vm autobackup --cron --force-full
ExecStart=/usr/bin/pvc --quiet vm autobackup --cron --force-full {% if pvc_autobackup.reporting.enabled and pvc_autobackup.reporting.report_on.forced_full %}--email-report {{ pvc_autobackup.reporting.emails|join(',') }}{% endif %}

View File

@ -5,4 +5,4 @@ Description=[Cron] PVC VM autobackup (normal)
Type=oneshot
IgnoreSIGPIPE=false
KillMode=process
ExecStart=/usr/bin/pvc --quiet vm autobackup --cron
ExecStart=/usr/bin/pvc --quiet vm autobackup --cron {% if pvc_autobackup.reporting.enabled and pvc_autobackup.reporting.report_on.normal %}--email-report {{ pvc_autobackup.reporting.emails|join(',') }}{% endif %}