]> git.ipfire.org Git - people/ms/libloc.git/commitdiff
systemd: Rename location-downloader to location-update
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Jun 2020 17:14:37 +0000 (17:14 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Jun 2020 17:14:37 +0000 (17:14 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
.gitignore
Makefile.am
debian/rules
src/systemd/location-update.service.in [moved from src/systemd/location-downloader.service.in with 69% similarity]
src/systemd/location-update.timer.in [moved from src/systemd/location-downloader.timer.in with 63% similarity]

index ebd34c1df9de26e76c7c94e0ebd025925298bb1e..cadcc686bbe501f8128792db4f7060450cde1a93 100644 (file)
@@ -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
index 91f043629f477b4662364c8c3434d83338ba4278..bf204d864843f451a256e15c324871f71bce532e 100644 (file)
@@ -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
 
 # ------------------------------------------------------------------------------
 
index 1c6d1712106ee169b3493a057e4ddf528d1e430a..dd762a32a85f16ac8b67deb80cea7cb5c45bf030 100755 (executable)
@@ -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
similarity index 69%
rename from src/systemd/location-downloader.service.in
rename to src/systemd/location-update.service.in
index 12c9e05df705f200dc3926392d5d96cbad383ffe..c4584af025936e2cf0ad84edb0e4fd14b76e4d8e 100644 (file)
@@ -4,4 +4,4 @@ Requires=network.target
 
 [Service]
 Type=oneshot
-ExecStart=@bindir@/location-downloader update
+ExecStart=@bindir@/location-query update
similarity index 63%
rename from src/systemd/location-downloader.timer.in
rename to src/systemd/location-update.timer.in
index 5e3be1af693de57334f795f1b52d63e2473e9bb1..1b56a0426bd422893e4eb0509c817b4ff96bca3d 100644 (file)
@@ -1,5 +1,5 @@
 [Unit]
-Description=Update location database once a day
+Description=Update the location database once a day
 
 [Timer]
 OnCalendar=daily