tldr-update: add dependency on network-online

This commit is contained in:
Alex Martens
2026-04-29 10:35:04 -05:00
committed by Austin Horstman
parent d3b4e4b1bd
commit 8c8e5389e7
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -35,6 +35,8 @@ in
Unit = {
Description = "Update tldr CLI cache";
Documentation = "https://tldr.sh/";
Wants = [ "network-online.target" ];
After = [ "network-online.target" ];
};
Service = {
@@ -4,5 +4,7 @@ ExecStart=@tldr@/bin/dummy --update
Type=oneshot
[Unit]
After=network-online.target
Description=Update tldr CLI cache
Documentation=https://tldr.sh/
Wants=network-online.target