Skip to content

Commit

Permalink
nixos-module: Fix service starting before network is up
Browse files Browse the repository at this point in the history
  • Loading branch information
Brawl345 committed Sep 18, 2024
1 parent e889181 commit 1cd07c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ in

systemd.services.gobot = {
description = "Gobot Telegram Bot";
after = [ "network.target" ];
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];

script = ''
Expand Down

0 comments on commit 1cd07c7

Please sign in to comment.