From 22d8fa6ff4252a65d80df6e8a21e08ac30cb5fa9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 3 Jun 2020 17:14:37 +0000 Subject: [PATCH] systemd: Rename location-downloader to location-update Signed-off-by: Michael Tremer --- .gitignore | 4 ++-- Makefile.am | 8 ++++---- debian/rules | 2 +- ...n-downloader.service.in => location-update.service.in} | 2 +- ...ation-downloader.timer.in => location-update.timer.in} | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) rename src/systemd/{location-downloader.service.in => location-update.service.in} (69%) rename src/systemd/{location-downloader.timer.in => location-update.timer.in} (63%) diff --git a/.gitignore b/.gitignore index ebd34c1..cadcc68 100644 --- a/.gitignore +++ b/.gitignore @@ -18,7 +18,7 @@ Makefile.in /src/python/location-exporter /src/python/location-importer /src/python/location-query -/src/systemd/location-downloader.service -/src/systemd/location-downloader.timer +/src/systemd/location-update.service +/src/systemd/location-update.timer /test.db /testdata.db diff --git a/Makefile.am b/Makefile.am index 91f0436..bf204d8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -256,8 +256,8 @@ CLEANFILES += \ if HAVE_SYSTEMD systemdsystemunit_DATA = \ - src/systemd/location-downloader.service \ - src/systemd/location-downloader.timer + src/systemd/location-update.service \ + src/systemd/location-update.timer CLEANFILES += \ $(systemdsystemunit_DATA) @@ -267,8 +267,8 @@ INSTALL_DIRS += \ endif EXTRA_DIST += \ - src/systemd/location-downloader.service.in \ - src/systemd/location-downloader.timer.in + src/systemd/location-update.service.in \ + src/systemd/location-update.timer.in # ------------------------------------------------------------------------------ diff --git a/debian/rules b/debian/rules index 1c6d171..dd762a3 100755 --- a/debian/rules +++ b/debian/rules @@ -13,4 +13,4 @@ override_dh_perl: dh_perl -d override_dh_systemd_enable: - dh_systemd_enable location-downloader.timer + dh_systemd_enable location-update.timer diff --git a/src/systemd/location-downloader.service.in b/src/systemd/location-update.service.in similarity index 69% rename from src/systemd/location-downloader.service.in rename to src/systemd/location-update.service.in index 12c9e05..c4584af 100644 --- a/src/systemd/location-downloader.service.in +++ b/src/systemd/location-update.service.in @@ -4,4 +4,4 @@ Requires=network.target [Service] Type=oneshot -ExecStart=@bindir@/location-downloader update +ExecStart=@bindir@/location-query update diff --git a/src/systemd/location-downloader.timer.in b/src/systemd/location-update.timer.in similarity index 63% rename from src/systemd/location-downloader.timer.in rename to src/systemd/location-update.timer.in index 5e3be1a..1b56a04 100644 --- a/src/systemd/location-downloader.timer.in +++ b/src/systemd/location-update.timer.in @@ -1,5 +1,5 @@ [Unit] -Description=Update location database once a day +Description=Update the location database once a day [Timer] OnCalendar=daily -- 2.39.2