pvc-ansible/roles/pvc/templates/autobackup/pvc-autobackup-full.service.j2

9 lines
350 B
Django/Jinja

[Unit]
Description=[Cron] PVC VM autobackup (forced-full)
[Service]
Type=oneshot
IgnoreSIGPIPE=false
KillMode=process
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 %}