va-privacyidea/appliance/pi-maint.service

11 lines
278 B
Desktop File

[Unit]
Description=execute privacyIDEA maintenance
RefuseManualStart=no
RefuseManualStop=yes
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'rm /var/lib/privacyidea/backup/privacyidea-backup-*'
ExecStart=/usr/bin/pi-manage rotate_audit
ExecStart=/usr/bin/pi-manage backup create