aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
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