]> git.sesse.net Git - plocate/blobdiff - plocate-updatedb.timer
Add a systemd service and timer for updatedb, obsoleting the cron entry.
[plocate] / plocate-updatedb.timer
diff --git a/plocate-updatedb.timer b/plocate-updatedb.timer
new file mode 100644 (file)
index 0000000..1f69330
--- /dev/null
@@ -0,0 +1,9 @@
+[Unit]
+Description=Update the plocate database daily
+
+[Timer]
+OnCalendar=daily
+Persistent=true
+
+[Install]
+WantedBy=timers.target