summaryrefslogtreecommitdiff
path: root/baserock_ostree/etc/systemd/system/ostree-cache-update-summary.service
diff options
context:
space:
mode:
Diffstat (limited to 'baserock_ostree/etc/systemd/system/ostree-cache-update-summary.service')
-rw-r--r--baserock_ostree/etc/systemd/system/ostree-cache-update-summary.service11
1 files changed, 11 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