Add prune service and timer
All checks were successful
Configure Kumonoboru / deploy (push) Successful in 1m6s
All checks were successful
Configure Kumonoboru / deploy (push) Successful in 1m6s
This commit is contained in:
8
kumonoboru-prune.service.j2
Normal file
8
kumonoboru-prune.service.j2
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Kumonoboru - Cloud Backup Utility
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/bin/bash /home/shmick/Scripts/Kumonoboru --clean
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
9
kumonoboru-prune.timer.j2
Normal file
9
kumonoboru-prune.timer.j2
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Kumonoboru - Cloud backup utility
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=monthly
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
Reference in New Issue
Block a user