tldr-update: add dependency on network-online
This commit is contained in:
committed by
Austin Horstman
parent
d3b4e4b1bd
commit
8c8e5389e7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user