summaryrefslogtreecommitdiff
path: root/releng/airootfs/etc/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'releng/airootfs/etc/systemd')
-rw-r--r--releng/airootfs/etc/systemd/system/chaotic-rankmirrors.service11
l---------releng/airootfs/etc/systemd/system/multi-user.target.wants/chaotic-rankmirrors.service1
2 files changed, 12 insertions, 0 deletions
diff --git a/releng/airootfs/etc/systemd/system/chaotic-rankmirrors.service b/releng/airootfs/etc/systemd/system/chaotic-rankmirrors.service
new file mode 100644
index 0000000..d0d3a03
--- /dev/null
+++ b/releng/airootfs/etc/systemd/system/chaotic-rankmirrors.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Rank Chaotic-AUR mirrors by speed
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/local/bin/chaotic-rankmirrors
+
+[Install]
+WantedBy=multi-user.target
diff --git a/releng/airootfs/etc/systemd/system/multi-user.target.wants/chaotic-rankmirrors.service b/releng/airootfs/etc/systemd/system/multi-user.target.wants/chaotic-rankmirrors.service
new file mode 120000
index 0000000..0965d05
--- /dev/null
+++ b/releng/airootfs/etc/systemd/system/multi-user.target.wants/chaotic-rankmirrors.service
@@ -0,0 +1 @@
+/etc/systemd/system/chaotic-rankmirrors.service \ No newline at end of file