diff options
Diffstat (limited to 'baserock_ostree/etc')
-rw-r--r-- | baserock_ostree/etc/systemd/system/ostree-cache-update-summary.service | 11 | ||||
-rw-r--r-- | baserock_ostree/etc/systemd/system/ostree-cache-update-summary.timer | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/baserock_ostree/etc/systemd/system/ostree-cache-update-summary.service b/baserock_ostree/etc/systemd/system/ostree-cache-update-summary.service new file mode 100644 index 00000000..d070aec8 --- /dev/null +++ b/baserock_ostree/etc/systemd/system/ostree-cache-update-summary.service @@ -0,0 +1,11 @@ +[Unit] +Description = Update OSTree summary file for cache + +[Service] +Type = oneshot +ExecStart = /usr/bin/ostree --repo=/srv/ostree/cache/ summary -u +User = ostree +Group = ostree + +[Install] +WantedBy=default.target diff --git a/baserock_ostree/etc/systemd/system/ostree-cache-update-summary.timer b/baserock_ostree/etc/systemd/system/ostree-cache-update-summary.timer new file mode 100644 index 00000000..0be7bc51 --- /dev/null +++ b/baserock_ostree/etc/systemd/system/ostree-cache-update-summary.timer @@ -0,0 +1,8 @@ +[Unit] +Description = Update OSTree summary file for cache + +[Timer] +OnUnitActiveSec = 5min + +[Install] +WantedBy = default.target |