nixos/thelounge: add network-online.target to after & wants
This commit adds network-online.target to after & wants of thelounge.service. Fixes #512314.
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user