[PATCH] Amend `pacman -Fy` unit naming and descriptions
Daniel M. Capella
polyzen at archlinux.org
Tue Aug 3 03:30:42 UTC 2021
Addresses https://lists.archlinux.org/pipermail/pacman-contrib/2021-August/000382.html
Signed-off-by: Daniel M. Capella <polyzen at archlinux.org>
---
CHANGES.md | 3 ++-
src/Makefile.am | 8 ++++----
...yncdb.service.in => pacman-filesdb-refresh.service.in} | 2 +-
src/{pacman-syncdb.timer => pacman-filesdb-refresh.timer} | 2 +-
4 files changed, 8 insertions(+), 7 deletions(-)
rename src/{pacman-syncdb.service.in => pacman-filesdb-refresh.service.in} (77%)
rename src/{pacman-syncdb.timer => pacman-filesdb-refresh.timer} (57%)
diff --git a/CHANGES.md b/CHANGES.md
index 96a441b..6e233ae 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -6,7 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
### Added
-- pacman-syncdb: systemd service and timer for `pacman -Fy` (https://bbs.archlinux.org/viewtopic.php?pid=1981076)
+- pacman-syncdb: systemd service and timer for `pacman -Fy`
+- Rename `pacman -Fy` units to pacman-filesdb-refresh from pacman-syncdb and simplify descriptions
### Changed
diff --git a/src/Makefile.am b/src/Makefile.am
index cbc8bd0..5101f4a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -31,7 +31,7 @@ systemd_dir = ${libdir}/systemd/system
systemd__DATA = \
paccache.service paccache.timer \
- pacman-syncdb.service pacman-syncdb.timer
+ pacman-filesdb-refresh.service pacman-filesdb-refresh.timer
BASHSCRIPTS = \
checkupdates \
@@ -52,7 +52,7 @@ OURSCRIPTS = \
OURFILES = \
paccache.service \
- pacman-syncdb.service
+ pacman-filesdb-refresh.service
EXTRA_DIST = \
checkupdates.sh.in \
@@ -62,8 +62,8 @@ EXTRA_DIST = \
pacdiff.sh.in \
paclist.sh.in \
paclog-pkglist.sh.in \
- pacman-syncdb.service.in \
- pacman-syncdb.timer \
+ pacman-filesdb-refresh.service.in \
+ pacman-filesdb-refresh.timer \
pacscripts.sh.in \
pacsearch.pl.in \
pacsort.c \
diff --git a/src/pacman-syncdb.service.in b/src/pacman-filesdb-refresh.service.in
similarity index 77%
rename from src/pacman-syncdb.service.in
rename to src/pacman-filesdb-refresh.service.in
index 26cbe6d..1ce63a6 100644
--- a/src/pacman-syncdb.service.in
+++ b/src/pacman-filesdb-refresh.service.in
@@ -1,5 +1,5 @@
[Unit]
-Description=Download pacman fresh files databases from the server
+Description=Refresh pacman files databases
RequiresMountsFor="/var/lib/pacman/sync"
After=network-online.target nss-lookup.target
Wants=network-online.target
diff --git a/src/pacman-syncdb.timer b/src/pacman-filesdb-refresh.timer
similarity index 57%
rename from src/pacman-syncdb.timer
rename to src/pacman-filesdb-refresh.timer
index 2562443..67fef8f 100644
--- a/src/pacman-syncdb.timer
+++ b/src/pacman-filesdb-refresh.timer
@@ -1,5 +1,5 @@
[Unit]
-Description=Download pacman fresh files databases from the server weekly
+Description=Refresh pacman files databases weekly
[Timer]
OnCalendar=weekly
--
2.32.0
More information about the pacman-contrib
mailing list