aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorGravatar Sebastian Wiesner <sebastian@swsnr.de>2025-06-14 08:30:59 +0200
committerGravatar Sebastian Wiesner <sebastian@swsnr.de>2025-06-18 13:24:32 +0200
commit9eeaf4f09899b841683c343d406ce458f89ab2e0 (patch)
treed1c11871e187dfa84256699a1ae5b932a039a2ab /systemd
parent19bdd51676c66197e29397b927c1c6c9e246d911 (diff)
downloadpacman-offline-main.tar.gz
pacman-offline-main.tar.zst
Make prepare service depend on networkHEADmain
Diffstat (limited to 'systemd')
-rw-r--r--systemd/pacman-offline-prepare.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/systemd/pacman-offline-prepare.service b/systemd/pacman-offline-prepare.service
index c585d3b..a8f68d5 100644
--- a/systemd/pacman-offline-prepare.service
+++ b/systemd/pacman-offline-prepare.service
@@ -9,6 +9,9 @@
Description=Prepare pacman offline system-update
Documentation=https://git.eworm.de/cgit/pacman-offline/about/
ConditionPathExists=!/var/lib/pacman/db.lck
+# Synchronizing databases needs network, see https://systemd.io/NETWORK_ONLINE/
+After=network-online.target
+Wants=network-online.target
[Service]
Type=oneshot