media-proxy: Start after network is online

binfmt
Simon Bruder 2021-03-27 12:45:43 +01:00
parent 90c2ab9d0a
commit c1992958bf
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ in
}; };
users.users.nginx.extraGroups = [ "keys" ]; users.users.nginx.extraGroups = [ "keys" ];
# otherwise name resolution fails
systemd.services.nginx.after = [ "network-online.target" ];
services.nginx = { services.nginx = {
enable = true; enable = true;
virtualHosts.media-proxy = { virtualHosts.media-proxy = {