diff --git a/dist/init/systemd/rkt-gc.service b/dist/init/systemd/rkt-gc.service new file mode 100644 index 0000000..2f210aa --- /dev/null +++ b/dist/init/systemd/rkt-gc.service @@ -0,0 +1,3 @@ +[Service] +Type=oneshot +ExecStart=/usr/bin/rkt gc --grace-period=5m diff --git a/dist/init/systemd/rkt-gc.timer b/dist/init/systemd/rkt-gc.timer new file mode 100644 index 0000000..4ff597a --- /dev/null +++ b/dist/init/systemd/rkt-gc.timer @@ -0,0 +1,6 @@ +[Timer] +OnActiveSec=0s +OnUnitActiveSec=5m + +[Install] +WantedBy=default.target