aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/pacman-offline-done-poweroff.service2
-rw-r--r--systemd/pacman-offline-done-reboot.service2
-rw-r--r--systemd/pacman-offline-prepare.service5
-rw-r--r--systemd/pacman-offline-prepare.timer2
-rw-r--r--systemd/pacman-offline-reboot.timer2
-rw-r--r--systemd/pacman-offline.service2
6 files changed, 9 insertions, 6 deletions
diff --git a/systemd/pacman-offline-done-poweroff.service b/systemd/pacman-offline-done-poweroff.service
index 28255bc..441daa9 100644
--- a/systemd/pacman-offline-done-poweroff.service
+++ b/systemd/pacman-offline-done-poweroff.service
@@ -8,7 +8,7 @@
[Unit]
Description=Offline system update with pacman - Poweroff
-Documentation=https://git.eworm.de/cgit/pacman-offline/about/
+Documentation=https://pacman-offline.eworm.de/
After=pacman-offline.service
DefaultDependencies=no
Conflicts=shutdown.target
diff --git a/systemd/pacman-offline-done-reboot.service b/systemd/pacman-offline-done-reboot.service
index 4b5aacf..b4e7b48 100644
--- a/systemd/pacman-offline-done-reboot.service
+++ b/systemd/pacman-offline-done-reboot.service
@@ -8,7 +8,7 @@
[Unit]
Description=Offline system update with pacman - Reboot
-Documentation=https://git.eworm.de/cgit/pacman-offline/about/
+Documentation=https://pacman-offline.eworm.de/
After=pacman-offline.service
DefaultDependencies=no
Conflicts=shutdown.target
diff --git a/systemd/pacman-offline-prepare.service b/systemd/pacman-offline-prepare.service
index c585d3b..deb746b 100644
--- a/systemd/pacman-offline-prepare.service
+++ b/systemd/pacman-offline-prepare.service
@@ -7,8 +7,11 @@
[Unit]
Description=Prepare pacman offline system-update
-Documentation=https://git.eworm.de/cgit/pacman-offline/about/
+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
diff --git a/systemd/pacman-offline-prepare.timer b/systemd/pacman-offline-prepare.timer
index c6710b7..c4a2cdf 100644
--- a/systemd/pacman-offline-prepare.timer
+++ b/systemd/pacman-offline-prepare.timer
@@ -7,7 +7,7 @@
[Unit]
Description=Prepare pacman offline system-update
-Documentation=https://git.eworm.de/cgit/pacman-offline/about/
+Documentation=https://pacman-offline.eworm.de/
[Timer]
OnBootSec=5min
diff --git a/systemd/pacman-offline-reboot.timer b/systemd/pacman-offline-reboot.timer
index 314d138..024c9da 100644
--- a/systemd/pacman-offline-reboot.timer
+++ b/systemd/pacman-offline-reboot.timer
@@ -7,7 +7,7 @@
[Unit]
Description=Reboot for pacman offline system-update
-Documentation=https://git.eworm.de/cgit/pacman-offline/about/
+Documentation=https://pacman-offline.eworm.de/
[Timer]
OnCalendar=03:00:00
diff --git a/systemd/pacman-offline.service b/systemd/pacman-offline.service
index bdf5a53..9ce6639 100644
--- a/systemd/pacman-offline.service
+++ b/systemd/pacman-offline.service
@@ -7,7 +7,7 @@
[Unit]
Description=Offline system update with pacman
-Documentation=https://git.eworm.de/cgit/pacman-offline/about/
+Documentation=https://pacman-offline.eworm.de/
ConditionPathIsSymbolicLink=/system-update
DefaultDependencies=false
Requires=sysinit.target dbus.socket