add a systemd timer unit to monthly generate mirrorlist
This commit is contained in:
6
data/systemd/pamac-mirrorlist.service
Normal file
6
data/systemd/pamac-mirrorlist.service
Normal file
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Generate mirrorlist
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/pacman-mirrors -g
|
9
data/systemd/pamac-mirrorlist.timer
Normal file
9
data/systemd/pamac-mirrorlist.timer
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Monthly generate mirrorlist
|
||||
|
||||
[Timer]
|
||||
OnCalendar=monthly
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user