Skip to content
Snippets Groups Projects
Commit b8d14361 authored by kewl fft's avatar kewl fft
Browse files

service waits for network

parent 608a16fb
No related branches found
No related tags found
1 merge request!400service waits for network
[Unit] [Unit]
Description=Generate mirrorlist Description=Generate mirrorlist
Wants=network-online.target
After=network-online.target
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/usr/bin/pacman-mirrors -f5 ExecStart=/usr/bin/pacman-mirrors -f8
ExecStartPost=/usr/bin/pacman -Syy ExecStartPost=/usr/bin/pacman -Syy
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Description=Generate mirrorlist every fortnight Description=Generate mirrorlist every fortnight
[Timer] [Timer]
OnCalendar=*-*-1,15 0:00:00 OnCalendar=*-*-1,15 8:00:00
RandomizedDelaySec=12h RandomizedDelaySec=12h
Persistent=true Persistent=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment