better weekly dockerclean timer

This commit is contained in:
simon 2022-06-06 15:34:53 +07:00
parent c8c21ea2a0
commit c1cc1e5566
Signed by: simon
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
[Unit]
Descrition=run docker clean up
Description=run docker clean up
[Service]
User=regular_user

View File

@ -1,9 +1,9 @@
[Unit]
Descrition=run docker clean up
Description=run docker clean up
[Timer]
OnBootSec=11min
OnUnitActiveSec=7d
OnCalendar=weekly
Persistent=true
[Install]
WantedBy=multi-user.target