memo: add mail-service.md

This commit is contained in:
2026-01-16 04:18:17 +01:00
parent 72ad195b5a
commit bda2762036
4 changed files with 448 additions and 17 deletions
@@ -2,9 +2,13 @@
# Description:
# Quick snippet of reflector.
#
# Note:
# Write the arguments (with '--' prefix) of reflector to /etc/xdg/reflector/reflector.conf
# and enable reflector.timer to update mirrorlist automaticly (once a week)
[ -z "$COUNTRY" ] && COUNTRY="Germany"
[ -z "$COUNTRY" ] && COUNTRY="Germany,Austria"
sudo cp -f /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak || exit 1
sudo cp -vf /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak || exit 1
sudo reflector --country "$COUNTRY" --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
sudo reflector --verbose --country "$COUNTRY" --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist