]> git.openstreetmap.org Git - chef.git/commitdiff
docker: activate docker-system-prune.timer
authorGrant Slater <github@firefishy.com>
Fri, 2 Dec 2022 13:09:21 +0000 (13:09 +0000)
committerGrant Slater <github@firefishy.com>
Fri, 2 Dec 2022 13:09:21 +0000 (13:09 +0000)
cookbooks/docker/recipes/default.rb

index 3d7fd2104ebf8bcb1661b12ebaeb43af31591f5e..6e98de4da64b68718a8ea2906031c6c4acd11e35 100644 (file)
@@ -60,3 +60,7 @@ systemd_timer "docker-system-prune" do
   on_unit_active_sec "7d"
   randomized_delay_sec "4h"
 end
+
+service "docker-system-prune.timer" do
+  action [:enable, :start]
+end