add delay to profile-stats.service

This commit is contained in:
Mark Eaton
2026-01-15 11:42:07 -05:00
parent 9a070c81be
commit 3325eef058
+1
View File
@@ -13,6 +13,7 @@ Description=Run update_profile.py (profile stats updater)
Type=oneshot Type=oneshot
EnvironmentFile=%h/.config/profile-stats.env EnvironmentFile=%h/.config/profile-stats.env
ExecStartPre=/usr/bin/nm-online -q 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' ExecStart=/bin/bash -lc 'cd ${REPO_PATH} && uv run language_stats.py'
[Install] [Install]