aboutsummaryrefslogtreecommitdiffstats
path: root/system/update-mirrorlist.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-21 21:46:44 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-21 21:46:44 +0100
commite73b7a884cfa7721f3aac45afc0ac2ae20904dc8 (patch)
treef6201dfb8a2f0aa56264a1f4434d066dc741e28e /system/update-mirrorlist.service
parente7b38d62250b08beb875c7dd99ead217c74e225a (diff)
downloaduenv-e73b7a884cfa7721f3aac45afc0ac2ae20904dc8.tar.gz
uenv-e73b7a884cfa7721f3aac45afc0ac2ae20904dc8.tar.bz2
uenv-e73b7a884cfa7721f3aac45afc0ac2ae20904dc8.tar.xz
uenv-e73b7a884cfa7721f3aac45afc0ac2ae20904dc8.zip
update-mirrorlist.{service,timer}: Adding systemd service and timer files for updating pacman's mirrorlist using update-mirrorlist (if installed).
Diffstat (limited to 'system/update-mirrorlist.service')
-rw-r--r--system/update-mirrorlist.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/update-mirrorlist.service b/system/update-mirrorlist.service
new file mode 100644
index 0000000..9766df6
--- /dev/null
+++ b/system/update-mirrorlist.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Update pacman mirrorlist
+After=local-fs.target
+ConditionFileIsExecutable=/usr/bin/update-mirrorlist
+
+[Service]
+Nice=19
+IOSchedulingClass=2
+IOSchedulingPriority=7
+ExecStart=/usr/bin/update-mirrorlist
+