aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/pacman-offline-prepare.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/pacman-offline-prepare.service')
-rw-r--r--systemd/pacman-offline-prepare.service6
1 files changed, 5 insertions, 1 deletions
diff --git a/systemd/pacman-offline-prepare.service b/systemd/pacman-offline-prepare.service
index c9b5ba5..deb746b 100644
--- a/systemd/pacman-offline-prepare.service
+++ b/systemd/pacman-offline-prepare.service
@@ -1,4 +1,4 @@
-# (C) 2017-2024 by Christian Hesse <mail@eworm.de>
+# (C) 2017-2025 by Christian Hesse <mail@eworm.de>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -7,7 +7,11 @@
[Unit]
Description=Prepare pacman offline system-update
+Documentation=https://pacman-offline.eworm.de/
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