Skip to content

Commit

Permalink
build.flake: run service after network.online-target, bump version
Browse files Browse the repository at this point in the history
Relevant issue can be found here:
https://codeberg.org/tlkg/infrastructure/issues/7

Decided to use a simpler versioning style.
  • Loading branch information
furkansimsekli committed Sep 26, 2024
1 parent 3f3ab01 commit 0e4887c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

hu-cafeteria-bot = pkgs.stdenv.mkDerivation {
pname = "hu-cafeteria-bot";
version = "2.2.0";
version = "2.3";
src = ./.;

buildInputs = with pkgs; [
Expand Down Expand Up @@ -171,7 +171,7 @@
systemd.services.hu-cafeteria-bot = {
enable = true;
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
after = [ "network-online.target" ];
startLimitBurst = 3;
startLimitIntervalSec = 60;

Expand Down

0 comments on commit 0e4887c

Please sign in to comment.