summarylogtreecommitdiffstats
path: root/reflector.service
diff options
context:
space:
mode:
authorSilvio Knizek2015-11-10 12:00:12 +0100
committerSilvio Knizek2015-11-10 12:00:12 +0100
commit39dd79675ca2c56de06b44df93090daab1b3964f (patch)
treeed987157f33c983c73108438ef76aebabe3c570f /reflector.service
parent46dab53fa4fd461c64422687d6204ec0672cc852 (diff)
downloadaur-39dd79675ca2c56de06b44df93090daab1b3964f.tar.gz
move the default config out of /etc into /usr/share to support an empty /etc \(a file in /etc/conf.d can still overwrite the default settings\)\; don\'t autoenable the timer anymore\; make the timer enableable\; use the right timers.target
Diffstat (limited to 'reflector.service')
-rw-r--r--reflector.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/reflector.service b/reflector.service
index b795491e36d0..02f985ee537b 100644
--- a/reflector.service
+++ b/reflector.service
@@ -4,5 +4,6 @@ Documentation=https://wiki.archlinux.org/index.php/Reflector
[Service]
Type=oneshot
-EnvironmentFile=/etc/conf.d/reflector.conf
+EnvironmentFile=/usr/share/reflector-timer/reflector.conf
+EnvironmentFile=-/etc/conf.d/reflector.conf
ExecStart=/usr/bin/reflector --age $AGE --country $COUNTRY --latest $LATEST --number $NUMBER --sort $SORT --save /etc/pacman.d/mirrorlist