Add docker system prune to scheduled service. God this is dumb.

master
josiah 2 years ago
parent fb5e309985
commit 27a660b9ed

@ -0,0 +1,10 @@
[Unit]
Description=Run docker system prune to clear up reserved space. Its super dumb I have to do this.
After=network.target
[Service]
ExecStart=docker system prune -a -f
TimeoutStartSec=3600
[Install]
WantedBy=default.target

@ -0,0 +1,9 @@
[Unit]
Description=Run docker system prune every week.
[Timer]
OnBootSec=30min
OnUnitActiveSec=1w
[Install]
WantedBy=timers.target
Loading…
Cancel
Save