summaryrefslogtreecommitdiff
path: root/units/trove-garbage-collect.timer
diff options
context:
space:
mode:
Diffstat (limited to 'units/trove-garbage-collect.timer')
-rw-r--r--units/trove-garbage-collect.timer9
1 files changed, 9 insertions, 0 deletions
diff --git a/units/trove-garbage-collect.timer b/units/trove-garbage-collect.timer
new file mode 100644
index 0000000..77b0dfe
--- /dev/null
+++ b/units/trove-garbage-collect.timer
@@ -0,0 +1,9 @@
+[Unit]
+Description=Remove old artifacts once every hour
+
+[Timer]
+OnUnitActiveSec=1h
+
+[Install]
+WantedBy=timers.target
+Also=trove-garbage-collect.service