diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2017-02-23 16:05:06 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-02-23 16:07:41 +0100 |
commit | 4905c1c54fce527624dc0e20b3a52e1dac6a6073 (patch) | |
tree | 7921ea2281be966fe6fcae156e4135371b3fde5b /nixos/modules | |
parent | 66f553974b74378c524f08b3c7d745907927e6c4 (diff) |
prosody service: needs working network connectivity
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/prosody.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/prosody.nix b/nixos/modules/services/networking/prosody.nix index 5682b506344c..feaa007de15e 100644 --- a/nixos/modules/services/networking/prosody.nix +++ b/nixos/modules/services/networking/prosody.nix @@ -265,7 +265,8 @@ in systemd.services.prosody = { description = "Prosody XMPP server"; - after = [ "network.target" ]; + after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; serviceConfig = { User = "prosody"; |