summaryrefslogtreecommitdiff
path: root/raveos-calamares-theme/etc/systemd/system
diff options
context:
space:
mode:
authorNippy <nippy@rp1.hu>2026-05-07 20:05:44 +0200
committerNippy <nippy@rp1.hu>2026-05-07 20:05:44 +0200
commit26ff77a435709558832f46bfd6ac44ed654b999f (patch)
tree66dfc750421d4132bf64b35e4920a7d227b5c2d0 /raveos-calamares-theme/etc/systemd/system
parentebc9eda8f562df5d26306730f0d2955b80f395d7 (diff)
downloadRaveOS-PKGBUILD-26ff77a435709558832f46bfd6ac44ed654b999f.tar.gz
RaveOS-PKGBUILD-26ff77a435709558832f46bfd6ac44ed654b999f.zip
update raveos theme
Diffstat (limited to 'raveos-calamares-theme/etc/systemd/system')
-rw-r--r--raveos-calamares-theme/etc/systemd/system/reflector-once.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/raveos-calamares-theme/etc/systemd/system/reflector-once.service b/raveos-calamares-theme/etc/systemd/system/reflector-once.service
new file mode 100644
index 0000000..b21c1fa
--- /dev/null
+++ b/raveos-calamares-theme/etc/systemd/system/reflector-once.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Update pacman mirrorlist with reflector
+Wants=network-online.target
+After=network-online.target
+ConditionPathExists=/etc/systemd/system/reflector-once.service
+After=multi-user.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/reflector -c HU,AT,DE,PL,CZ --protocol https --sort rate --latest 20 --download-timeout 10 --threads 5 --save /etc/pacman.d/mirrorlist
+ExecStartPost=/bin/systemctl disable reflector-once.service
+
+[Install]
+WantedBy=multi-user.target