add delay to profile-stats.service
This commit is contained in:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user