Skip to content

Commit

Permalink
service: explicitly depend on network-online.target
Browse files Browse the repository at this point in the history
Signed-off-by: Emil Nikolov <emil.e.nikolov@gmail.com>
  • Loading branch information
e-nikolov authored and danderson committed Jan 21, 2024
1 parent 5ee5a81 commit b75983b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
${cfg.package}/bin/golink ${builtins.concatStringsSep " " args}
'';
wantedBy = [ "multi-user.target" ];
wants = [ "network-online.target" ];
after = [ "network-online.target" ];
serviceConfig = {
User = cfg.user;
Expand Down

0 comments on commit b75983b

Please sign in to comment.