Wait for network connection before fetching the daily NASA picture

This commit is contained in:
Ohad Livne 2025-07-18 16:30:52 +03:00
parent 18ab3487f5
commit 1b278acd2b
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
2 changed files with 2 additions and 0 deletions

View file

@ -1,5 +1,6 @@
[Unit] [Unit]
Description=Refresh the wallpaper using the NASA Astronomy Picture of the Day Description=Refresh the wallpaper using the NASA Astronomy Picture of the Day
After=network-online.target
Wants=get-nasa-apod.timer Wants=get-nasa-apod.timer
[Service] [Service]

View file

@ -1,5 +1,6 @@
[Unit] [Unit]
Description=Daily NASA wallpaper fetch Description=Daily NASA wallpaper fetch
After=network-online.target
Requires=get-nasa-apod.service Requires=get-nasa-apod.service
[Timer] [Timer]