11 lines
278 B
SYSTEMD
11 lines
278 B
SYSTEMD
|
[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
|