diff --git a/profile/profile-stats.service b/profile/profile-stats.service index cbd00c6..7302d76 100644 --- a/profile/profile-stats.service +++ b/profile/profile-stats.service @@ -13,6 +13,7 @@ Description=Run update_profile.py (profile stats updater) Type=oneshot EnvironmentFile=%h/.config/profile-stats.env ExecStartPre=/usr/bin/nm-online -q +ExecStartPre=/bin/bash -c 'for i in {1..30}; do getent hosts tildegit.org && exit 0; sleep 1; done; exit 1' ExecStart=/bin/bash -lc 'cd ${REPO_PATH} && uv run language_stats.py' [Install]