Commit 8e831eb0 authored by Cheng Shao's avatar Cheng Shao
Browse files

nixos/thelounge: add network-online.target to after & wants

This commit adds network-online.target to after & wants of
thelounge.service. Fixes #512314.
parent 022e19fa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -112,6 +112,8 @@ in
    systemd.services.thelounge = {
      description = "The Lounge web IRC client";
      wantedBy = [ "multi-user.target" ];
      after = [ "network-online.target" ];
      wants = [ "network-online.target" ];
      preStart = "ln -sf ${pkgs.writeText "config.js" configJsData} ${dataDir}/config.js";
      environment.THELOUNGE_PACKAGES = mkIf (cfg.plugins != [ ]) "${plugins}";
      serviceConfig = {