Skip to content

Commit

Permalink
Fix service starting before network is up in Nix module
Browse files Browse the repository at this point in the history
  • Loading branch information
Brawl345 committed Sep 18, 2024
1 parent 26aa6ca commit dc27c59
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 @@ -125,7 +125,8 @@ in

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

script = ''
Expand Down

0 comments on commit dc27c59

Please sign in to comment.