Created
November 28, 2017 20:56
-
-
Save Manouchehri/ae7417b58c6a5f7b61b9b78f59c68ec5 to your computer and use it in GitHub Desktop.
/etc/systemd/system/reflector.service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Pacman mirrorlist update | |
| Requires=network-online.target | |
| After=network-online.target | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/bin/reflector --protocol https --country 'United States' --country 'Canada' --age 2 --sort rate --save /etc/pacman.d/mirrorlist | |
| [Install] | |
| RequiredBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment